aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-28 19:06:55 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-28 19:06:55 +0000
commita2d4ae63344b1d8426a6ab312c02c327f4343458 (patch)
tree20350ec3a29e854c826cc12c393599a7c1d0690d
parentf82b05be9eca9aa6e385083c4380cadee5dcd18e (diff)
According to a note added to 7731 by mneuhauser, this
will repair a break caused by the last fix (7731). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41239 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c
index 0ac2d097f..ece2b09b6 100644
--- a/apps/app_macro.c
+++ b/apps/app_macro.c
@@ -246,7 +246,7 @@ static int macro_exec(struct ast_channel *chan, void *data)
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;