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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 21 14:40:03 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
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 14:40 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 14:40  
---------------------------------------------------------------------- 
Hi, I upgraded to 1.4.14 and it works now (not by default, it works if I
set "languageprefix=yes" in [options] section).

Thanks ;)

PD: Please, close the bug. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-21-07 14:40  ibc            Note Added: 0074163                          
======================================================================




More information about the asterisk-bugs mailing list