Displaying 1 result from an estimated 1 matches for "enteryournumberstartingwithaone".
2010 Feb 08
2
IVR Demo / Create file / Move file / Demo all
Do you see any syntax errors?
Positive comments welcomed.
The short version of the logic is as follows:
create a file based on the NUMBER
create a an audio file
move to a new extension (label) and play the results
exten => 621,1,Answer()
exten => 621,n,Read(NUMBER,enteryournumberstartingwithaone,12,,5)
; create a variable from a DTMF entry / 12 characters long
exten => 621,n,System{(/tmp touch($NUMBER)}
; create the file based on the variable entered
exten => 621,n,Set(audioscript=$[${NUMBER} + 1])
; set a channel variable in advance of recording to it
exten...