[asterisk-bugs] [Asterisk 0018910]: After update from asterisk-1.6.2.14 to asterisk-1.6.2.17 Gosub(macro, s, 1(args)) stopped working

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 3 15:06:36 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18910 
====================================================================== 
Reported By:                alexandrekeller
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18910
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.17 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-03-02 18:31 CST
Last Modified:              2011-03-03 15:06 CST
====================================================================== 
Summary:                    After update from asterisk-1.6.2.14 to
asterisk-1.6.2.17 Gosub(macro,s,1(args)) stopped working
Description: 
After update from asterisk-1.6.2.14 to asterisk-1.6.2.17
Gosub(macro,s,1(args)) stopped working.

Then I realized all my AEL macros wasn't created with extension s, instead
there is a ~~s~~ extension, which has broken my entire dialplan.

What happened? How to solve that?

Thanks
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018480 [patch] Contexts with a 'switch' statem...
====================================================================== 

---------------------------------------------------------------------- 
 (0132603) Marquis (developer) - 2011-03-03 15:06
 https://issues.asterisk.org/view.php?id=18910#c132603 
---------------------------------------------------------------------- 
The primary issue here is that you have apparently long been relying upon
an implementation detail of AEL that, admittedly, changed.

But you should not have been relying on that behavior in the first place,
as it was never guaranteed.  Had you been using the AEL macro facility from
the start, then you would have noticed no change.

There was an issue (linked above in the Relationships section) that caused
spurious warnings to be issued by the AEL compiler. It is the fix for this
that is the difference between 1.6.2.16.2 (and before) and 1.6.2.17. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-03 15:06 Marquis        Note Added: 0132603                          
======================================================================




More information about the asterisk-bugs mailing list