I want to build a IVR which accepts DTMF and play a voice message at the same time without interrupting both DTMF accepting and playing voice message. I have tried Background() and not successful.
Playing sound during DTMF can produce false digits, as a result of echoes and talk-off. Also the echoes reduce the signal to noise ratio for the tone detection, causing digits to be missed. Consequently, it is normal to suppress the background as soon as a digit is detected.
Try setting your dtmfmode=rfc2833 for out of band dtmf. It should help by not putting the dtmf in the audio stream. Make sure your codec is ulaw or alaw.
Thanks for your replies.
I’m passing the DTMF from an Android App over GSM, not SIP. I have an IVR which accepts the DTMF in PSTN Network.
I need to play a Welcome voice message along with accepting DTMF.