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

LES.NET (1996) INC. sales at les.net
Wed May 25 15:59:34 CDT 2011


  Unlikely that you'll be able to read DTMF in  no-answer state, since 
it takes an ANSWER to acquire the other side of the audio stream (which 
contains dtmf)
Les
On 25/03/2011 2:22 PM, MUNIR HOSSAIN wrote:
> 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
> _______________________________________________
> Asterisk mailing list
> Asterisk at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/asterisk



More information about the Asterisk mailing list