[asterisk-bugs] [Asterisk 0015022]: Language handling for numbers, dates, etc is misbehaving when utilizing sub-regional languages

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 11 12:36:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=15022 
====================================================================== 
Reported By:                greenfieldtech
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15022
Category:                   Applications/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-03 10:50 CDT
Last Modified:              2009-05-11 12:36 CDT
====================================================================== 
Summary:                    Language handling for numbers, dates, etc is
misbehaving when utilizing sub-regional languages
Description: 
Per a discussion at Asterisk Euro DevCon, an issue was raised when a
language is defined as "language_variant" format, for example, "fr_ca"
(Candian French). 

According to KPF and russelb, Asterisk is supposed to play files from the
/var/lib/asterisk/sounds/[LANG_DIRECTORY] and
/var/lib/asterisk/sounds/digits/[LANG_DIRECTORY], while at the same time,
while playing the numbers, utilizing the logic intended for the "language"
identified. However, after testing the edge case, we've discovered that
Asterisk will default to the English grammer, thus, playing the entire
grammer wrong.
====================================================================== 

---------------------------------------------------------------------- 
 (0104533) tilghman (administrator) - 2009-05-11 12:36
 http://bugs.digium.com/view.php?id=15022#c104533 
---------------------------------------------------------------------- 
In your description, you say that "initially, we've created a directory
under '/var/lib/asterisk/sounds/digits/he_jr'."  However, the right
directory for trunk should actually be
'/var/lib/asterisk/sounds/he_jr/digits/'.  Note the swap of the final two
directories.

Note that this behavior can be changed back to the original directory, if
you set languageprefix=no in the [options] section of asterisk.conf. 
However, in 1.6 and trunk, this option defaults to "yes".

I need you confirm what this setting is, since that goes directly to how
Asterisk behaves and MAY explain the behavior you're seeing. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-11 12:36 tilghman       Note Added: 0104533                          
======================================================================




More information about the asterisk-bugs mailing list