On Fri, Aug 30, 2013 at 11:44 AM, CDR <[email protected]> wrote:

>
> I am stumped
> In features.conf,I programmed this
>
> [applicationmap]
> Answer0 => 0,self/both,Macro,nway_start
>
> But do I pass an argument or parameter to my macro? I tried
> Answer0 => 0,self/both,Macro,nway_start^0
> Answer0 => 0,self/both,Macro,nway_start,0
>
> but the usuar variable ${ARG1} is empty in my dialplan.
> The issue is that my macro needs to know what key was pressed.
>
>
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.

--Satish Barot
Ahmedabad, India.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to