[asterisk-commits] murf: branch 1.2 r41239 - /branches/1.2/apps/app_macro.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Aug 28 12:06:55 MST 2006


Author: murf
Date: Mon Aug 28 14:06:55 2006
New Revision: 41239

URL: http://svn.digium.com/view/asterisk?rev=41239&view=rev
Log:
According to a note added to 7731 by mneuhauser, this
will repair a break caused by the last fix (7731).


Modified:
    branches/1.2/apps/app_macro.c

Modified: branches/1.2/apps/app_macro.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_macro.c?rev=41239&r1=41238&r2=41239&view=diff
==============================================================================
--- branches/1.2/apps/app_macro.c (original)
+++ branches/1.2/apps/app_macro.c Mon Aug 28 14:06:55 2006
@@ -246,7 +246,7 @@
 			break;
 		}
 		/* don't stop executing extensions when we're in "h" */
-		if (chan->_softhangup && strcasecmp(chan->macroexten,"h")) {
+		if (chan->_softhangup && strcasecmp(oldexten,"h") && strcasecmp(chan->macroexten,"h")) {
 			ast_log(LOG_DEBUG, "Extension %s, macroexten %s, priority %d returned normally even though call was hung up\n",
 				chan->exten, chan->macroexten, chan->priority);
 			goto out;



More information about the asterisk-commits mailing list