<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 30, 2013 at 11:44 AM, CDR <span dir="ltr"><<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra">I am stumped<br></div><div class="gmail_extra">In features.conf,I programmed this<br><br>[applicationmap]<br>Answer0 => 0,self/both,Macro,nway_start<br><br></div><div class="gmail_extra">
But do I pass an argument or parameter to my macro? I tried <br>Answer0 => 0,self/both,Macro,nway_start^0<br>Answer0 => 0,self/both,Macro,nway_start,0<br><br></div><div class="gmail_extra">but the usuar variable ${ARG1} is empty in my dialplan.<br>
</div><div class="gmail_extra">The issue is that my macro needs to know what key was pressed.<br></div></div><br></blockquote></div><br>nway_start macro will only get executed when 0 is pressed and not on any other key press. When in macro nway_start, You can safely assume that only 0 is pressed.<br>
<br></div><div class="gmail_extra">--Satish Barot<br></div><div class="gmail_extra">Ahmedabad, India.<br></div></div>