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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 22 12:59:21 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15531 
====================================================================== 
Reported By:                diLLec
Assigned To:                espiceland
====================================================================== 
Project:                    Asterisk
Issue ID:                   15531
Category:                   Resources/res_agi
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-1488 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 203638 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-19 08:13 CDT
Last Modified:              2010-11-22 12:59 CST
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 (0129035) espiceland (administrator) - 2010-11-22 12:59
 https://issues.asterisk.org/view.php?id=15531#c129035 
---------------------------------------------------------------------- 
Thanks for this submission. We have actually decided to revert back to the
previous behavior of WAIT FOR DIGIT. We do not want to change the behavior
to make it non-backwards-compatible. This patch makes WAIT FOR DIGIT output
a string instead of a digit, and it makes WAIT FOR DIGIT behave almost
exactly like GET DATA. The only difference is that GET DATA does not take
escape characters. Those wanting to play a file and receive DTMF digits in
ASCII form should use GET DATA. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-22 12:59 espiceland     Note Added: 0129035                          
======================================================================




More information about the asterisk-bugs mailing list