Play Sound Without Stop It When Dtmf Is Pressed

Home » Asterisk Users » Play Sound Without Stop It When Dtmf Is Pressed
Asterisk Users No Comments

Hello,

I would like to known if there is a way to use background without stopping playing the sound file until it’s end and capture dtmf.

i try :

background(soundfile)
waitexten(10)

but background exit immediatly when any dtmf is press and continue to waitexten I want the full sound file play and capture dtmf.

I can’t use moh for this case (waitexten option with m) as i will have many many voice to handle and need use langage of the channel.

playback discard any info about dtmf. playback + dtmf recording will be perfect.

Thanks for help

Regards,