[asterisk-users] take input and store in variable

Vardan Harutyunyan hvardan71 at gmail.com
Tue Oct 5 23:01:50 CDT 2010


 > Carlos Chavez wrote:
> On Mon, 2010-10-04 at 14:27 -0500, Tom Lohmuller wrote:
>> 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.
>>
> 	What kind of search did you do to avoid getting the "read" command?
>
>


http://www.voip-info.org/wiki/view/Asterisk+cmd+Read

-- 
Vardan Harutyunyan,
Senior System Administrator

Enterprise Incubator Foundation
123 Hovsep Emin Street,
Yerevan 0051, Republic of Armenia
Tel: + 374 10 219735
Fax: + 374 10 219777
E-mail: info at eif.am
www.eif-it.com




More information about the asterisk-users mailing list