[asterisk-commits] juggie: branch 1.6.0 r106433 - in /branches/1.6.0: ./ res/res_agi.c

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


Author: juggie
Date: Thu Mar  6 14:39:49 2008
New Revision: 106433

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

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/res/res_agi.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
--- trunk-merged (original)
+++ trunk-merged Thu Mar  6 14:39:49 2008
@@ -1,1 +1,1 @@
-/trunk:1-105595,105675,105677,105733-105734,105773,105785,105804,105840-105841,105864,105899,105933,106036,106040,106139,106186,106238-106239,106329,106346
+/trunk:1-105595,105675,105677,105733-105734,105773,105785,105804,105840-105841,105864,105899,105933,106036,106040,106139,106186,106238-106239,106329,106346,106399

Modified: branches/1.6.0/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/res/res_agi.c?view=diff&rev=106433&r1=106432&r2=106433
==============================================================================
--- branches/1.6.0/res/res_agi.c (original)
+++ branches/1.6.0/res/res_agi.c Thu Mar  6 14:39:49 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