[asterisk-bugs] [Asterisk 0015423]: Gosub-Local Variables in AEL2 Cannot be set in a Queue with Local Channels

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 30 04:06:29 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15423 
====================================================================== 
Reported By:                leobrown
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   15423
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-30 04:06 CDT
Last Modified:              2009-06-30 04:06 CDT
====================================================================== 
Summary:                    Gosub-Local Variables in AEL2 Cannot be set in a
Queue with Local Channels
Description: 
When using AEL2, using the Macro construct creates priorities that set the
macro variables in the macro. When this macro is called as part of a Local
channel in a queue, this causes the error "Tried to set LOCAL(extn), but we
aren't within a Gosub routine".

The config below will re-create the issue when you dial extension 100, and
sample output is shown in additional info below.

=========queues.conf=========
[testqueue]
retry=1
timeout=30
member=>Local/s at testmacro

=======extensions.ael========
macro testmacro(arg){
 Noop(${arg});
};

100 => {
 Queue(testqueue);
};
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-30 04:06 leobrown       New Issue                                    
2009-06-30 04:06 leobrown       Status                   new => assigned     
2009-06-30 04:06 leobrown       Assigned To               => murf            
2009-06-30 04:06 leobrown       Asterisk Version          => SVN             
2009-06-30 04:06 leobrown       Regression                => No              
2009-06-30 04:06 leobrown       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list