[asterisk-users] asterisk-users Digest, Vol 109, Issue 30
Satish Barot
satish4asterisk at gmail.com
Fri Aug 30 01:56:21 CDT 2013
On Fri, Aug 30, 2013 at 11:44 AM, CDR <venefax at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130830/a9e44979/attachment.htm>
More information about the asterisk-users
mailing list