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 <[email protected]> wrote:

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" <[email protected]> wrote:

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 rewriting all the dialplan getting rid of the macro and using gosub, 
even if asterisk is complaining about  "application call to gosub affects flow 
of control, and needs to be re-written using AEL if, while, goto, etc. keywords 
instead!", but I am not seeing any other way...


Leandro



--

_____________________________________________________________________

-- Bandwidth and Colocation Provided by http://www.api-digital.com --

New to Asterisk? Join us for a live introductory webinar every Thurs:

               http://www.asterisk.org/hello



asterisk-users mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-users


-----Inline Attachment Follows-----

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to