[asterisk-bugs] [Asterisk 0014749]: [patch] Add support for relative path to digits, letters and phonetics files in say.c

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 6 17:00:01 CDT 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14749 
====================================================================== 
Reported By:                nicchap
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14749
Category:                   Addons/New Feature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-25 08:44 CDT
Last Modified:              2009-08-06 17:00 CDT
====================================================================== 
Summary:                    [patch] Add support for relative path to
digits,letters and phonetics files in say.c
Description: 
We use asterisk as our IVR base and thus support multiple applications for
multiple clients. Each client have their own set of prompts and voices,
including what I call VOCAB files, or digits - letters and phonetics.
Currently Asterisk only supports these files from the language root:

ie: digits/ or fr/digits or fr/letters and so on. 

This patch enables us to have multiple recordings of these files located
in a relative directory under the required language:

ie: allison/digits , fr/isabelle/letters, en/manuel/phonetics and so on

I tried as best to avoid touching any internals and decided to use a
channel variable called VOCAB_RELATIVE_PATH to enable this feature (simply
call the dialplan Set function to enable it). If this variable exists, then
the relative path defined by it is used, otherwise it defaults to it's
usual location. If the file is not found under the relative path, it also
defaults to it's usual location.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-06 17:00 tilghman       Asterisk Version         1.6.0.6 => SVN      
2009-08-06 17:00 tilghman       Status                   ready for review =>
feedback
======================================================================




More information about the asterisk-bugs mailing list