diff options
author | juggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-06 19:31:50 +0000 |
---|---|---|
committer | juggie <juggie@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-06 19:31:50 +0000 |
commit | b779ac083c64acdc8f2b0c497f34866c156ccd44 (patch) | |
tree | eda5be19cc581b7553d1fe2c3b01be198b14c7ba | |
parent | f60984da2c26abc06efd37b4f5e0646e3a2ab132 (diff) |
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/trunk@106399 f38db490-d61c-443f-a65b-d21fe96a405b
-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 dcde56353..1d11f1fe4 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; |