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.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@75437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-07-17 20:33:06 +00:00
parent e4cc4ef183
commit bdf09824c6

View File

@@ -2082,6 +2082,8 @@ static int eagi_exec(struct ast_channel *chan, void *data)
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);
}