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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jan 18 16:27:55 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 169153 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-18 16:27 CST
Last Modified:              2009-01-18 16:27 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-18 16:27 dimas          New Issue                                    
2009-01-18 16:27 dimas          Asterisk Version          => SVN             
2009-01-18 16:27 dimas          Regression                => No              
2009-01-18 16:27 dimas          SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-01-18 16:27 dimas          SVN Revision (number only!) => 169153          
======================================================================




More information about the asterisk-bugs mailing list