[asterisk-bugs] [Asterisk 0013357]: ael don't like function call as argument for jump statement

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 21 10:57:50 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13357 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13357
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 138442 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-21 10:57 CDT
Last Modified:              2008-08-21 10:57 CDT
====================================================================== 
Summary:                    ael don't like function call as argument for jump
statement
Description: 
if I try to use function call to return value for jump statement, it fails
due to syntax error below...
if I call jump statement with variable as argument it's working fine

BAD:
jump ${DB(uri/${uri_string})};

OK:
Set(line=${DB(uri/${uri_string})});
jump ${line};

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-21 10:57 pj             Asterisk Version          => SVN             
2008-08-21 10:57 pj             SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-08-21 10:57 pj             SVN Revision (number only!) => 138442          
======================================================================




More information about the asterisk-bugs mailing list