<br><br><div class="gmail_quote">2008/12/2 Philipp Kempgen <span dir="ltr">&lt;<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Philipp Kempgen schrieb:<br>
<div class="Ih2E3d">&gt; Olivier schrieb:<br>
&gt;<br>
&gt;&gt; How can you use Dial application M(x) option from extensions.ael ?<br>
&gt;&gt; (As a reminder, this M(x) executes macro x when Dial called party answers).<br>
&gt;&gt;<br>
&gt;&gt; It seems to me that asterisk keeps looking for this macro in extensions.conf<br>
&gt;&gt; and not in extensions.ael.<br>
&gt;&gt; I tried both (and variations of those with ^ instead of ,) :<br>
&gt;&gt; Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN}));<br>
&gt;&gt; Dial(Local/${EXTEN:1},,M(&amp;mymacro,${EXTEN}));<br>
&gt;&gt;<br>
&gt;&gt; both lead to unexpected results:<br>
&gt;&gt; macro_exec: No such context &#39;macro-mymacro&#39; for macro &#39;mymacro&#39;<br>
&gt;<br>
&gt; I&#39;d say use the U option instead of G.<br>
<br>
</div>... instead of M.<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; AEL macros are converted to Gosub routines, not Macros.<br>
<br>
<br>
 &nbsp; Philipp Kempgen<br>
<br>
--<br>
<a href="http://www.das-asterisk-buch.de" target="_blank">http://www.das-asterisk-buch.de</a> &nbsp;- &nbsp;<a href="http://www.the-asterisk-book.com" target="_blank">http://www.the-asterisk-book.com</a><br>
Amooma GmbH - Bachstr. 126 - 56566 Neuwied &nbsp;-&gt; &nbsp;<a href="http://www.amooma.de" target="_blank">http://www.amooma.de</a><br>
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998<br>
--<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
 &nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></div></blockquote><div><br>It works !<br>I&#39;ll take time to edit <a href="http://voip-info.org">voip-info.org</a> accordingly ...<br>
<br>Thanks !! <br></div></div><br>