]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Restore a behavior that was recently changed, when we fixed issue #13962 and
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 11 Feb 2009 20:54:18 +0000 (20:54 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 11 Feb 2009 20:54:18 +0000 (20:54 +0000)
commit9e38dd54278bc92b873071e15a57679ee09bc935
treecb358f5fd2d1d9dc200c81380054792d4e16a0a3
parent9fa3324845b52769b38a985a6aa4a5ecce3bf1cf
Restore a behavior that was recently changed, when we fixed issue #13962 and
issue #13363 (related to issue #6176).  When a hangup occurs during a Macro
execution in earlier 1.4, the h extension would execute within the Macro
context, whereas it was always supposed to execute only within the main context
(where Macro was called).  So this fix checks for an "h" extension in the
deepest macro context where a hangup occurred; if it exists, that "h" extension
executes, otherwise the main context "h" is executed.
(closes issue #14122)
 Reported by: wetwired
 Patches:
       20090210__bug14122.diff.txt uploaded by Corydon76 (license 14)
 Tested by: andrew

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@174885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_macro.c
main/pbx.c