diff options
author | juggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-06 20:39:49 +0000 |
---|---|---|
committer | juggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-06 20:39:49 +0000 |
commit | 1508c7ae392221eeca8e68129fae8ca0d8411f2b (patch) | |
tree | 5a38e1ef8ec6fe4bb8c53dea47542c3937dfb70e /res | |
parent | a1b4ff33f4791b241fa4f5fdb63a8e0344bc5baf (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@106433 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 6e9b5291e..47bfeb077 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -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; |