mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Make app_festival change more portable, allow '*' for context in iax2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3473,7 +3473,7 @@ static int send_command_transfer(struct chan_iax2_pvt *i, char type, int command
|
||||
static int apply_context(struct iax2_context *con, char *context)
|
||||
{
|
||||
while(con) {
|
||||
if (!strcmp(con->context, context))
|
||||
if (!strcmp(con->context, context) || !strcmp(con->context, "*"))
|
||||
return -1;
|
||||
con = con->next;
|
||||
}
|
||||
|
Reference in New Issue
Block a user