Summary: | ASTERISK-12669: AEL switches inside macros not working like extensions.conf's ones | ||
Reporter: | Diego Aguirre (dagmoller) | Labels: | |
Date Opened: | 2008-09-01 08:21:23 | Date Closed: | 2011-06-07 14:08:03 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_ael |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | AEL switches inside macros not working like extensions.conf's ones ****** ADDITIONAL INFORMATION ****** * This code works in extensions.conf: [macro-dundi-br] include => dundi-local switch => DUNDi/dundi-br exten => s,1,Goto(${ARG1},1) * This code doesnt work in extensions.ael macro dundi-br(dest) { includes { dundi-local; } switches { DUNDi/dundi-br; } goto ${dest}|1; } | ||
Comments: | By: Leif Madsen (lmadsen) 2008-09-02 13:56:39 Jumping out of a Macro() is not really advisable. Since this is not a bug, but rather a non-standard practice, I'm closing this issue. |