]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Reverting behavior change (AGI should not exit non-zero on SUCCESS)
authorTilghman Lesher <tilghman@meg.abyt.es>
Sat, 6 Sep 2008 15:23:42 +0000 (15:23 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sat, 6 Sep 2008 15:23:42 +0000 (15:23 +0000)
(closes issue #13434)
 Reported by: francesco_r

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@141503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index 2ab5b8b3162501114b4bb39408b283269b72ef2a..20bb9331b806eae282638c94189206f7c1055de2 100644 (file)
@@ -2092,7 +2092,7 @@ static int agi_exec_full(struct ast_channel *chan, void *data, int enhanced, int
                return -1;
        }
 
-       return res;
+       return 0;
 }
 
 static int agi_exec(struct ast_channel *chan, void *data)