take input and store in variable

Home » Asterisk Users » take input and store in variable
Asterisk Users 4 Comments

I am using a context to change values in a DB. Currently in my context, I
am passing it to

exten => s,1,WaitExten(7) ; 7 seconds to input
exten => s,n,Set(NEW_VAR=${EXTEN}) ;Here is my problem. This is the only
way I know how to ‘grab’ user input, which was normally from ${EXTEN} but
I realize this won’t work for extension ‘s’……

The short google search I did didn’t turn up anything concrete.

Thank you!

-Tom

4 thoughts on - take input and store in variable