Dialling the extension while playback is happening

Hello,

Can we dial the extension while playback is happening ? As soon as we dial the extension then control goes to that extension.

Regards

Deepak

What dialplan are you using?

In general, it is not a good idea to continue playback whilst digits are being entered as echoes of the playback can jam the DTMF.

Hello,

I am using Asterisk 1.8.15-cert5, dialplan.

Thanks

Deepak

Asterisk doesn’t come with any production dialplans.

Hi,

We have made our own dialplan. Probably I haven’t understood your question.

Regards

Deepak

You need to tell us the contents of your dialplan.

exten => 0,n,Playback(${DEEPAK_KARAOKE_APP_DIR}/pleasepress1toplaythetuneofthesongelsepress2toselectdifferentsong)
exten => 0,n,Playback(beep)
exten => 0,n,WaitExten()

exten => 1,1,Goto(playtuneofthissong,0,1)
exten => 2,1,Goto(saymessage,0,1)

“as soon as…” is the desired behaviour, not the actual behaviour. I thought you were complaining that it didn’t complete the full message before the GoTo.

You want the Background application.

Note you can use & between file names.