mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Merged revisions 106399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r106399 | juggie | 2008-03-06 14:31:50 -0500 (Thu, 06 Mar 2008) | 9 lines trivial fix for an agi error when attempting to use EAGI on a dead/hungup channel, we now print an error that makes sense given our removal of deadagi as an actual application. (closes issue #12161) Reported by: explidous Patches: res_agi_12161.patch uploaded by juggie (license 24) Tested by: juggie ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2944,7 +2944,7 @@ static int eagi_exec(struct ast_channel *chan, void *data)
|
||||
int readformat, res;
|
||||
|
||||
if (ast_check_hangup(chan)) {
|
||||
ast_log(LOG_ERROR, "If you want to run AGI on hungup channels you should use DeadAGI!\n");
|
||||
ast_log(LOG_ERROR, "EAGI cannot be run on a dead/hungup channel, please use AGI.\n");
|
||||
return 0;
|
||||
}
|
||||
readformat = chan->readformat;
|
||||
|
||||
Reference in New Issue
Block a user