[asterisk-bugs] [Asterisk 0014122]: [patch] Macro execution doesn't get to "h" extension

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 9 21:12:56 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:                     feedback
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:              
====================================================================== 
Date Submitted:             2008-12-22 06:13 CST
Last Modified:              2009-02-09 21:12 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0099772) andrew (reporter) - 2009-02-09 21:12
 http://bugs.digium.com/view.php?id=14122#c99772 
---------------------------------------------------------------------- 
I checked 1.4.17 vs. branch (1.4.23).

I tested two main conditions. One is when the channel hangs up during the
call (automatic jump to 'h'), and the second is when the pbx calls Hangup
in the macro to disconnect (that jumps to 'h').

The older version consistantly runs 'h' IN THE MACRO for both conditions.

The newer version runs 'h' from the main context when Hangup is called in
the macro (rather than running 'h' in the macro). If the channel is
disconnected then it runs 'h' in the macro and not the main context.

Since the pbx ran 'h' in the macro before, this behavior should be
restored to be consistant in the newer version. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-09 21:12 andrew         Note Added: 0099772                          
======================================================================




More information about the asterisk-bugs mailing list