[asterisk-commits] oej: branch oej/cancel_answer_elsewhere r73910 - /team/oej/cancel_answer_else...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jul 8 09:57:48 CDT 2007
Author: oej
Date: Sun Jul 8 09:57:47 2007
New Revision: 73910
URL: http://svn.digium.com/view/asterisk?view=rev&rev=73910
Log:
Don't signal cancel with answer_elsewhere flag when caller hung up...
Modified:
team/oej/cancel_answer_elsewhere/apps/app_dial.c
Modified: team/oej/cancel_answer_elsewhere/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/oej/cancel_answer_elsewhere/apps/app_dial.c?view=diff&rev=73910&r1=73909&r2=73910
==============================================================================
--- team/oej/cancel_answer_elsewhere/apps/app_dial.c (original)
+++ team/oej/cancel_answer_elsewhere/apps/app_dial.c Sun Jul 8 09:57:47 2007
@@ -1808,7 +1808,7 @@
ast_indicate(chan, -1);
}
ast_channel_early_bridge(chan, NULL);
- hanguptree(outgoing, NULL, ast_test_flag(&opts, OPT_CANCEL_ELSEWHERE) ? 1 : 0);
+ hanguptree(outgoing, NULL, 0); /* In this case, there's no answer anywhere */
pbx_builtin_setvar_helper(chan, "DIALSTATUS", pa.status);
senddialendevent(chan, pa.status);
ast_debug(1, "Exiting with DIALSTATUS=%s.\n", pa.status);
More information about the asterisk-commits
mailing list