aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-12 15:29:56 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-12 15:29:56 +0000
commit0648d8bd296cd4bd33f05f4e930e15ad77976f21 (patch)
treea32c9f1bcaa02344f073b6f5484fc2d80ac1dfd4
parent698443e481baa97a7b19e1448ee731aa6011ff2a (diff)
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
-rwxr-xr-xchannels/chan_iax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 860920732..8427bdf01 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");
}