|Summary:||ASTERISK-04319: [patch] Support for prompt playing in AGI WAIT_FOR_DIGIT cmd|
|Reporter:||Andriy I Pylypenko (bamby)||Labels:|
|Date Opened:||2005-06-02 03:43:31||Date Closed:||2011-06-07 14:02:50|
|Environment:||Attachments:||( 0) patch-res::res_agi.c|
|Description:||I'm porting some application to Asterisk AGI (FastAGI in my case). The application has features based on recognition keys including pound key (#) while playing some prompt. I found only one AGI command that can report pound key press - WAIT FOR DIGIT but it lacks ability of playing prompt while waiting. The GET DATA cmd can play prompt but has no ability to report '#' key. I added to the WAIT FOR DIGIT command second optional parameter - the prompt file. Please see the patch below.|
****** ADDITIONAL INFORMATION ******
The advantage of this patch is that it will not break any existing applications that already use the WAIT FOR DIGIT command.
|Comments:||By: Olle Johansson (oej) 2005-06-02 05:29:59|