diff options
author | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-08 06:00:17 +0000 |
---|---|---|
committer | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-08 06:00:17 +0000 |
commit | fe1433baf16899179f3c88d94b825af48b000880 (patch) | |
tree | f54c62d36f8c99997a17fc202fe190c7b4d4a4bd /apps/app_macro.c | |
parent | 6cef720265d690adb0270c833a0b05a515bad810 (diff) |
Sat Mar 8 07:00:00 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@635 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_macro.c')
-rwxr-xr-x | apps/app_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c index bb8b43de8..c06fa117f 100755 --- a/apps/app_macro.c +++ b/apps/app_macro.c @@ -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); |