[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
Fri Dec 17 21:35:22 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
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-17 15:35 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0129752) tilghman (manager) - 2010-12-17 15:35
 https://issues.asterisk.org/view.php?id=18480#c129752 
---------------------------------------------------------------------- 
Yes, that's the proper behavior.  MSet is short for multiple-set, which is
a behavior that we wished to deprecate, that of setting multiple values at
once.  It had a side effect, though, that Steve Murphy liked for AEL:  if
people used quotes to encapsulate a single value, MSet would remove those
quotes automatically, as expected.  It is therefore used in AEL but nowhere
else. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-17 15:35 tilghman       Note Added: 0129752                          
======================================================================




More information about the asterisk-bugs mailing list