[asterisk-bugs] [Asterisk 0012103]: AGI + sounds dir + language

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 29 08:17:59 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=12103 
====================================================================== 
Reported By:                darren1713
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12103
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 104869 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             02-28-2008 15:52 CST
Last Modified:              02-29-2008 08:17 CST
====================================================================== 
Summary:                    AGI + sounds dir + language
Description: 
With the new language directories in
/var/lib/asterisk/sounds/(en|fr|sp|etc) my AGI scripts no longer know where
to generate files to be played back via "STREAM FILE ....."

There should be a agi variable passed into the AGI scripts that identifies
the current sound directory, and the current language, so AGI scripts can
do language based processing.


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

---------------------------------------------------------------------- 
 Corydon76 - 02-29-08 08:17  
---------------------------------------------------------------------- 
You can already get this information by looking at AST_DATA_DIR in your
environment setup, as well as "GET VARIABLE CHANNEL(language)", which will
give you the current channel language. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-29-08 08:17  Corydon76      Note Added: 0083155                          
02-29-08 08:17  Corydon76      Status                   new => closed       
02-29-08 08:17  Corydon76      Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list