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

Vieri rentorbuy at yahoo.com
Sun Feb 24 04:49:39 CST 2013


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 <mitul at enterux.in> 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" <ldardini at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130224/094a7324/attachment.htm>


More information about the asterisk-users mailing list