[Home]

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:31Date Closed:2011-06-07 14:02:50
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
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

Duplicate report.