[asterisk-commits] tilghman: branch 1.2 r71656 - /branches/1.2/res/res_agi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 25 13:12:38 CDT 2007
Author: tilghman
Date: Mon Jun 25 13:12:37 2007
New Revision: 71656
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71656
Log:
Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands
Modified:
branches/1.2/res/res_agi.c
Modified: branches/1.2/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/res/res_agi.c?view=diff&rev=71656&r1=71655&r2=71656
==============================================================================
--- branches/1.2/res/res_agi.c (original)
+++ branches/1.2/res/res_agi.c Mon Jun 25 13:12:37 2007
@@ -1103,7 +1103,7 @@
}
fdprintf(agi->fd, "200 result=%d\n", res);
- return res;
+ return res >= 0 ? RESULT_SUCCESS : RESULT_FAILURE;
}
static int handle_setcallerid(struct ast_channel *chan, AGI *agi, int argc, char **argv)
More information about the asterisk-commits
mailing list