Sat Mar 8 07:00:00 CET 2003

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matteo Brancaleoni
2003-03-08 06:00:17 +00:00
parent f2c4538f61
commit d50ea0e9d4
6 changed files with 87 additions and 26 deletions

View File

@@ -184,7 +184,7 @@ out:
pbx_builtin_setvar_helper(chan, "MACRO_PRIORITY", save_macro_priority);
if (save_macro_priority) free(save_macro_priority);
if (!strcasecmp(chan->context, fullmacro)) {
if (!strcasecmp(chan->context, fullmacro) && !chan->_softhangup) {
/* If we're leaving the macro normally, restore original information */
chan->priority = oldpriority;
strncpy(chan->exten, oldexten, sizeof(chan->exten) - 1);