Asterisk-users Digest, Vol 109, Issue 30

Home » Asterisk Users » Asterisk-users Digest, Vol 109, Issue 30
Asterisk Users 1 Comment

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.

One thought on - Asterisk-users Digest, Vol 109, Issue 30

  • 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.