Hello
Can anyone tell me that Background application uses which channel variable. means when a user enter a DTMF in which that pressed numbers are stored.
Thanks
Regards
Taimur Hasan
Hello
Can anyone tell me that Background application uses which channel variable. means when a user enter a DTMF in which that pressed numbers are stored.
Thanks
Regards
Taimur Hasan
You can capture it in to a variable once they press it for instance:
Exten => s,1,Answer
Exten => s,2,Background(some-file)
Exten => _X.,1,Set(some_variable=${EXTEN})
When the user enters something and it goes to the _X. extension the extension number (i.e. what the pressed) is in the variable ${EXTEN}. With the set option you can set any variable to the value of the extension (which is what they just pressed).