[asterisk-bugs] [Asterisk 0010788]: for loops broken

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Sep 22 01:02:50 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10788 
====================================================================== 
Reported By:                Luke-Jr
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   10788
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-21-2007 04:59 CDT
Last Modified:              09-22-2007 01:02 CDT
====================================================================== 
Summary:                    for loops broken
Description: 
Currently, this line:
	for (&iterator(${TRY},A); "${A}" != ""; &iterate(A)) {
Is being compiled to include:
                    13. Set( &iterate(A))                        
[pbx_ael]

The 3rd element should not be wrapped in Set!
====================================================================== 

---------------------------------------------------------------------- 
 Luke-Jr - 09-22-07 01:02  
---------------------------------------------------------------------- 
6. Macro(iterator|${TRY}|A)
7. GotoIf($[ "${A}" != "" ]?8:14)
	...
12. Macro(iterate|A)
13. Goto(7) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-22-07 01:02  Luke-Jr        Note Added: 0070941                          
======================================================================




More information about the asterisk-bugs mailing list