[asterisk-bugs] [Asterisk 0014122]: [patch] Macro execution doesn't get to "h" extension
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 11 14:55:52 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14122
======================================================================
Reported By: wetwired
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 14122
Category: Applications/app_macro
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Target Version: 1.4.24
Asterisk Version: 1.4.23-rc3
Regression: Yes
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2008-12-22 06:13 CST
Last Modified: 2009-02-11 14:55 CST
======================================================================
Summary: [patch] Macro execution doesn't get to "h"
extension
Description:
In asterisk-1.4.23-rc3 (and in SVN 1.4 branch) execution of macro context
interrupted by hangup never gets to "h" context defined by "catch h =>".
Instead of this, execution returns to "h" extension of calling context. In
asterisk-1.4.23-rc2 and earlier, execution was finishing in macro "catch h
=>" branch.
======================================================================
----------------------------------------------------------------------
(0099938) svnbot (reporter) - 2009-02-11 14:55
http://bugs.digium.com/view.php?id=14122#c99938
----------------------------------------------------------------------
Repository: asterisk
Revision: 174886
_U trunk/
------------------------------------------------------------------------
r174886 | tilghman | 2009-02-11 14:55:47 -0600 (Wed, 11 Feb 2009) | 19
lines
Blocked revisions 174885 via svnmerge
........
r174885 | tilghman | 2009-02-11 14:54:18 -0600 (Wed, 11 Feb 2009) | 13
lines
Restore a behavior that was recently changed, when we fixed issue
http://bugs.digium.com/view.php?id=13962
and
issue http://bugs.digium.com/view.php?id=13363 (related to issue
http://bugs.digium.com/view.php?id=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 http://bugs.digium.com/view.php?id=14122)
Reported by: wetwired
Patches:
20090210__bug14122.diff.txt uploaded by Corydon76 (license 14)
Tested by: andrew
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=174886
Issue History
Date Modified Username Field Change
======================================================================
2009-02-11 14:55 svnbot Checkin
2009-02-11 14:55 svnbot Note Added: 0099938
======================================================================
More information about the asterisk-bugs
mailing list