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
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);
}