asterisk - DTMF during playback

boris.mikhelis
Joined: Mon 25 of Jul, 2011

asterisk - DTMF during playback

Posted:Mon 25 of Jul, 2011 (15:33 UTC)
Hello, I have an IVR question with Asterisk. I need to be able to play a prompt to the caller and have the ability to listen to DTMF (10-12 digits). The IVR needs to stop the Prompt as soon as it detects DTMF digits being entered, collect all the digits (10-12) with an Interdigit Timeout set to perhaps 4 seconds, and then take those digits and be able to submit them via a script to an external system. Is this possible? We currently were using Playback (problem is that it won't listen to the digits until the prompt is finished), and tried Background (problem is that it is usually aimed for one digit processing, not for listening to 10-12 digits and then building a string out of those). Any help would be highly appreciated. Thank you.