<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="gmail_quote">On Feb 24, 2013 4:04 PM, "Leandro Dardini" <<a href="mailto:ldardini@gmail.com">ldardini@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_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 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><br></blockquote></div>