[*] How to Playback a sound fileand also Read dtmf from a caller in noanswer state

MUNIR HOSSAIN munir8 at yahoo.com
Fri Mar 25 14:22:21 CDT 2011


Hello, 
I tried to Playback a sound file and also read DTMF from a caller in NOANSWER state. but still unsuccessful. 
As of Asterisk 1.4: 
Read(variable[,filename][,maxdigits][,option][,attempts][,timeout]) 
* option: may be 'skip' to return immediately if the line is not up, or 'noanswer' to read digits even if the line is not up.

So I tried 
exten => _X.,3,Read(get,hello,4,noanswer,1,8)
But fail when I use "noanswer" in option.
Please help me to solve this problem.

Thanks


More information about the Asterisk mailing list