[asterisk-commits] juggie: trunk r106399 - /trunk/res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 6 13:31:50 CST 2008


Author: juggie
Date: Thu Mar  6 13:31:50 2008
New Revision: 106399

URL: http://svn.digium.com/view/asterisk?view=rev&rev=106399
Log:
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

Modified:
    trunk/res/res_agi.c

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=106399&r1=106398&r2=106399
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Thu Mar  6 13:31:50 2008
@@ -2944,7 +2944,7 @@
 	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;




More information about the asterisk-commits mailing list