<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">This link may be a bit too old:<br>https://issues.asterisk.org/jira/browse/ASTERISK-9518<br>so maybe using MACRO_EXTEN won't work with macros in AEL.<br>Haven't tried that.<br><br>Vieri<br><br>--- On <b>Sun, 2/24/13, Mitul Limbani <i><mitul@enterux.in></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><div id="yiv774233008"><p>Hi,</p>
<p>You might want to use ${MACRO_EXTEN} variable inside to preserve exten variable of the original dialplan exten variable.</p>
<p>Mitul</p>
<div class="yiv774233008gmail_quote">On Feb 24, 2013 4:04 PM, "Leandro Dardini" <<a rel="nofollow" ymailto="mailto:ldardini@gmail.com" target="_blank" href="/mc/compose?to=ldardini@gmail.com">ldardini@gmail.com</a>> wrote:<br><blockquote class="yiv774233008gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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.<div>
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...</div>
<div><br></div><div>Leandro</div><div><br></div><div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a rel="nofollow" target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a rel="nofollow" target="_blank" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a rel="nofollow" target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></td></tr></table>