[Home]

Summary:ASTERISK-11541: AGI + sounds dir + language
Reporter:jeffery palmer (darren1713)Labels:
Date Opened:2008-02-28 15:52:14.000-0600Date Closed:2011-06-07 14:10:32
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.

Comments:By: Tilghman Lesher (tilghman) 2008-02-29 08:17:56.000-0600

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.