[asterisk-bugs] [Asterisk 0014267]: macro compatibility

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 18 18:25:17 CST 2009


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=14267 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14267
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 169153 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-18 16:27 CST
Last Modified:              2009-01-18 18:25 CST
====================================================================== 
Summary:                    macro compatibility
Description: 
In 1.4 AEL used to generate macro- prefix for all macro contexts and
transform &m1() calls to Macro(m1). Now 1.6 Macro is deprcated and AEL
generates Gosub instead and does NOT generate macro- prefix.

The problem is that if your dialplan calls AEL macros from regular
dialplan - it will not work because AEL-generated macros do NOT have macro-
prefix while Macro application will add it. For the same reason features
like

myfeature => #,self,Macro,feature1

will not work anymore if feature1 is defined in the AEL.
====================================================================== 

---------------------------------------------------------------------- 
 (0098102) Corydon76 (administrator) - 2009-01-18 18:25
 http://bugs.digium.com/view.php?id=14267#c98102 
---------------------------------------------------------------------- 
Please open a discussion on the -dev list.  This is not the proper forum
for this. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-18 18:25 Corydon76      Note Added: 0098102                          
2009-01-18 18:25 Corydon76      Status                   new => closed       
2009-01-18 18:25 Corydon76      Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list