[asterisk-bugs] [Asterisk 0011338]: "languageprefix=yes" doesn't work

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 21 12:49:19 CST 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11338 
====================================================================== 
Reported By:                ibc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11338
Category:                   Sounds
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-21-2007 11:20 CST
Last Modified:              11-21-2007 12:49 CST
====================================================================== 
Summary:                    "languageprefix=yes" doesn't work
Description: 
I use Spanish language in the new directories estructure:

    /var/lib/asterisk/sounds/es
                               /digists
                               /followme
                               /letters
                               /...


** asterisk.conf
   [options]   
   languageprefix=yes

** sip.conf
    language=es

But apps as SayDigists or SayAlpha just don't work, the only way is by
creating symlinks (so recreating in fact the clasic estructure):

~$ /var/lib/asterisk/sounds$ ls -l

dictate -> es/dictate/
digits -> es/digits/
es/
followme -> es/followme/
letters -> es/letters/
phonetic -> es/phonetic/
silence -> es/silence/


I can sure that the SIP channel I create has "es" language, so I don't
know why it can fail.

In the UPGADE.txt there is:

"WARNING: Asterisk 1.4 supports a new layout for sound files in multiple 
languages; instead of the alternate-language files being stored in 
subdirectories underneath the existing files (for French, that would be 
digits/fr, letters/fr, phonetic/fr, etc.) the new layout creates one 
directory under /var/lib/asterisk/sounds for the language itself, then
places 
all the sound files for that language under that directory and its 
subdirectories. This is the layout that will be created if you select 
non-English languages to be installed via menuselect, HOWEVER Asterisk
does
not default to this layout and will not find the files in the places it 
expects them to be. If you wish to use this layout, make sure you 
put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf file, so that

Asterisk will know how the files were installed."

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

---------------------------------------------------------------------- 
 ibc - 11-21-07 12:49  
---------------------------------------------------------------------- 
I think the instructions are very clear, and the opposite to what you
suggest:

"Asterisk does **not** default to this layout and will not find the files
in the places it expects them to be. If you wish to use this layout, make
sure you  put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf"

In fact, I'm trying now with 'languageprefix=no' in [options] and it
doesn't work.

I'm trying Asterisk 1.4.13 (not 1.4.14 as I reported, sorry), and my
conclusion is that languageprefix just doesn't work, neither with "yes" or
"no".

Please, could you ensure me that the new structure should work with
'languageprefix=no' in [options] section of aterisk.conf? Thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-21-07 12:49  ibc            Status                   closed => new       
11-21-07 12:49  ibc            Resolution               no change required =>
reopened
11-21-07 12:49  ibc            Note Added: 0074149                          
======================================================================




More information about the asterisk-bugs mailing list