[asterisk-users] AEL Macro are evil :-)

2013-02-24 Thread Leandro Dardini
I just discover an hidden problem with AEL macro I want to have your feedback. If you use a macro to dial out, like dialout(${EXTEN}), the leg extension will became s and if it happens you transfer the call, that will be the callerid appearing on the other phone display. I am just

Re: [asterisk-users] AEL Macro are evil :-)

2013-02-24 Thread Mitul Limbani
Hi, You might want to use ${MACRO_EXTEN} variable inside to preserve exten variable of the original dialplan exten variable. Mitul On Feb 24, 2013 4:04 PM, Leandro Dardini ldard...@gmail.com wrote: I just discover an hidden problem with AEL macro I want to have your feedback. If you use a

Re: [asterisk-users] AEL Macro are evil :-)

2013-02-24 Thread Vieri
This link may be a bit too old: https://issues.asterisk.org/jira/browse/ASTERISK-9518 so maybe using MACRO_EXTEN won't work with macros in AEL. Haven't tried that. Vieri --- On Sun, 2/24/13, Mitul Limbani mi...@enterux.in wrote: Hi, You might want to use ${MACRO_EXTEN} variable inside to

Re: [asterisk-users] AEL Macro are evil :-)

2013-02-24 Thread Leandro Dardini
Knowing the exten variable of the original dialplan is not a problem. The problem is just when the call is transferred via blind transfer. Asterisk does a little magic with the callerid of the legs and using Macro, just breaks it. If Joe at ext 100 call Sally at ext 200 and then Joe transfers the