[asterisk-bugs] [Asterisk 0015623]: [patch] 'h' extension never reach in a macro

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 24 09:44:19 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15623 
====================================================================== 
Reported By:                sberney
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15623
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-31 07:05 CDT
Last Modified:              2009-08-24 09:44 CDT
====================================================================== 
Summary:                    [patch] 'h' extension never reach in a macro
Description: 
Same than issue 14122 but on version 1.6.0.10, we are unable to reach "h"
extension in a macro.

Sample dialplan :

[testing]
exten => 100, 1, Answer
exten => 100, n, Macro(test)

[macro-test]
exten => s, 1, Wait(2)
exten => s, n, Hangup
exten => h, 1, NoOp("Finish !")

Result in CLI is :

    -- Executing [100 at testing:1] Answer("SIP/test-b786f960", "") in new
stack
    -- Executing [100 at testing:2] Macro("SIP/test-b786f960", "test") in new
stack
    -- Executing [s at macro-test:1] Wait("SIP/test-b786f960", "2") in new
stack
    -- Executing [s at macro-test:2] Hangup("SIP/test-b786f960", "") in new
stack
  == Spawn extension (macro-test, s, 2) exited non-zero on
'SIP/test-b786f960' in macro 'test'
  == Spawn extension (testing, 100, 2) exited non-zero on
'SIP/test-b786f960'

And never reach "h" extension.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013962 Blind transfer does not work upgrade to...
related to          0013363 [patch] Device Side transfer of a call ...
related to          0006176 [patch] Segfault in pbx_builtin_setvar_...
====================================================================== 

---------------------------------------------------------------------- 
 (0109517) andrew (reporter) - 2009-08-24 09:44
 https://issues.asterisk.org/view.php?id=15623#c109517 
---------------------------------------------------------------------- 
Which way is the bug fix? If you want it to work the "new" way, they it
breaks the "old/existing" way. Since it has been working for so long people
expect and depend on that mode of operation. If you want it to work the new
way by default then at least have a switch to enable the old/compatible
way. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 09:44 andrew         Note Added: 0109517                          
======================================================================




More information about the asterisk-bugs mailing list