[asterisk-bugs] [Asterisk 0015531]: [patch] Add voicefile and dtmf options to res/res_agi.c

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 20 12:26:07 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15531 
====================================================================== 
Reported By:                diLLec
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15531
Category:                   Resources/res_agi
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 203638 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-19 08:13 CDT
Last Modified:              2009-07-20 12:26 CDT
====================================================================== 
Summary:                    [patch] Add voicefile and dtmf options to
res/res_agi.c
Description: 
This patch adds the following functionality to the AGI function WAIT FOR
DIGIT:

WAIT FOR DIGIT <timeout> [<voicefile>] [<escape chars>] [<maxdigits>]
[<previously die chars>]

'voicefile' is played as long 'previously die chars' (default '#') are not
typed in or 'escape chars' (default '1234567890*#ABCD') are typed in a
'maxdigit' (default 1) times.


====================================================================== 

---------------------------------------------------------------------- 
 (0107979) diLLec (reporter) - 2009-07-20 12:26
 https://issues.asterisk.org/view.php?id=15531#c107979 
---------------------------------------------------------------------- 
Because STREAM FILE breaks on the first dtmf digit. 

We need the function to play a voicefile and simoultanously read a number
of dtmf digits which are specified with maxdigits and escape chars. Further
it is possible that we need to break not only on # before maxidigts of
escape chars are entered but also on *. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-20 12:26 diLLec         Note Added: 0107979                          
======================================================================




More information about the asterisk-bugs mailing list