Hi,<br><br>How can you use Dial application M(x) option from extensions.ael ?<br>(As a reminder, this M(x) executes macro x when Dial called party answers).<br><br>It seems to me that asterisk keeps looking for this macro in extensions.conf and not in extensions.ael.<br>
I tried both (and variations of those with ^ instead of ,) :<br>Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN}));<br>Dial(Local/${EXTEN:1},,M(&mymacro,${EXTEN}));<br><br>both lead to unexpected results:<br>macro_exec: No such context 'macro-mymacro' for macro 'mymacro'<br>
<br>As a workaround, I could write my macro in extensions.conf, but ...<br><br>Regards<br><br><br><br><br><br>