Don't forget to return something other than -1 on the first pass if appropriate!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
71df4d92da
commit
2f82498995
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue