Don't forget to return something other than -1 on the first pass if appropriate!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3767 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
698443e481
commit
0648d8bd29
|
@ -7168,7 +7168,7 @@ static int iax2_exec(struct ast_channel *chan, char *context, char *exten, int p
|
|||
ast_mutex_unlock(&dpcache_lock);
|
||||
dial = pbx_findapp("Dial");
|
||||
if (dial) {
|
||||
pbx_exec(chan, dial, req, newstack);
|
||||
return pbx_exec(chan, dial, req, newstack);
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "No dial application registered\n");
|
||||
}
|
||||
|
|
Reference in New Issue