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:
Mark Spencer 2004-09-12 15:29:56 +00:00
parent 71df4d92da
commit 2f82498995
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}