[asterisk-commits] russell: branch 1.4 r75437 - /branches/1.4/res/res_agi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 17 15:33:07 CDT 2007
Author: russell
Date: Tue Jul 17 15:33:06 2007
New Revision: 75437
URL: http://svn.digium.com/view/asterisk?view=rev&rev=75437
Log:
(issue #10210)
Reported by: juggie
Patches:
10210-1.4-grr.patch uploaded by juggie (license #24)
Tested by: juggie, blitzrage
Log a warning if someone uses DeadAGI on a live channel.
Modified:
branches/1.4/res/res_agi.c
Modified: branches/1.4/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_agi.c?view=diff&rev=75437&r1=75436&r2=75437
==============================================================================
--- branches/1.4/res/res_agi.c (original)
+++ branches/1.4/res/res_agi.c Tue Jul 17 15:33:06 2007
@@ -2082,6 +2082,8 @@
static int deadagi_exec(struct ast_channel *chan, void *data)
{
+ if (!ast_check_hangup(chan))
+ ast_log(LOG_WARNING,"Running DeadAGI on a live channel will cause problems, please use AGI\n");
return agi_exec_full(chan, data, 0, 1);
}
More information about the asterisk-commits
mailing list