[asterisk-bugs] [Asterisk 0018480]: [patch] Contexts with a 'switch' statement in a 's' extension adds MSet to the beginning of the Context

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 15 21:00:32 UTC 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18480 
====================================================================== 
Reported By:                nivek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18480
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-15 13:54 CST
Last Modified:              2010-12-15 15:00 CST
====================================================================== 
Summary:                    [patch] Contexts with a 'switch' statement in a 's'
extension adds MSet to the beginning of the Context
Description: 
Creating a simple context with a switch statement in the 's' extension will
always add two Mset commands to the beginning of the context.

Changing the 's' to '_.' only gives one Mset.
====================================================================== 

---------------------------------------------------------------------- 
 (0129631) tilghman (manager) - 2010-12-15 15:00
 https://issues.asterisk.org/view.php?id=18480#c129631 
---------------------------------------------------------------------- 
I'm going to suggest as the fix to use a special extension name for actual
"macro" (actually Gosub) definitions, thus avoiding the conflict.  This
will need to be tested to verify that it works as expected. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-15 15:00 tilghman       Note Added: 0129631                          
2010-12-15 15:00 tilghman       Status                   feedback => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list