[asterisk-bugs] [Asterisk 0013422]: Generating output without additional NoOp()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 8 15:05:31 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13422 
====================================================================== 
Reported By:                yarns
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13422
Category:                   Utilities/aelparse
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-04 07:37 CDT
Last Modified:              2008-09-08 15:05 CDT
====================================================================== 
Summary:                    Generating output without additional NoOp()
Description: 
Hi,

its possible to add new option to aelparse which should works like -w but
without additional NoOp in generated file. Now ael generates something like
this:

 1. Set(ktoryGsm=${ARG1}) 
 2. Set(GROUP()=${ktoryGsm}) 
 3. GotoIf($["${ktoryGsm}"=="gsm3"]?4:6) 
 4. Dial(IAX2/${ktoryGsm}/2${numer}) 
 5. Goto(7) 
 6. Dial(IAX2/${ktoryGsm}/${numer}) 
 7. NoOp(Finish if-gsmCall-725) 
 8. NoOp(${DIALSTATUS}) 
 9. Set(proba=$[0]) 
 10. GotoIf($[${proba} < 2]?11:24) 
 11. Wait(0.25) 
 12. GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?13:21) 
 13. NoOp(---------> PROBA ${proba} <----------) 
 14. GotoIf($["${ktoryGsm}"=="gsm3"]?15:17) 
 15. Dial(IAX2/${ktoryGsm}/2${numer}) 
 16. Goto(18) 
 17. Dial(IAX2/${ktoryGsm}/${numer}) 
 18. NoOp(Finish if-if-while-gsmCall-726-727-728) 
 19. Set(proba=$[${proba}+1]) 
 20. Goto(22) 
 21. Set(proba=$[20]) 
 22. NoOp(Finish if-while-gsmCall-726-727) 
 23. Goto(10) 
 24. NoOp(Finish while-gsmCall-726) 

Take a look at line 20 it jumps to 22 only for NoOp and then backs.
Additional option to generate output without additionals NoOp could make
console output easier to read.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-08 15:05 murf           Status                   assigned => closed  
2008-09-08 15:05 murf           Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list