I want to achieve the following scenario, When i play audio from MP3Player, I want the input to be capture by the DTMF stroke.
I know this can be done with a simple dialplan, Background Application.
I want this to be done in PHP AGI script, where it plays the MP3 sound and get the user interruption DTMF stroke and store into the variable.
getting DTMF digits in PHP agi achieve by get_data() or wait_for_digits(). what I want to achieve is something like background function. Let me know if you think the same feature can be achieved by python or Perl agi other than PHP