From: Mark Spencer Date: Sun, 12 Sep 2004 15:29:56 +0000 (+0000) Subject: Don't forget to return something other than -1 on the first pass if appropriate! X-Git-Tag: 1.0.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f82498995aa1b00fd98342cd4fed55477a83ac6;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 8609207323..8427bdf010 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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"); }