mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user