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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 30 16:21:45 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15022 
====================================================================== 
Reported By:                greenfieldtech
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15022
Category:                   Applications/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-03 10:50 CDT
Last Modified:              2009-06-30 16:21 CDT
====================================================================== 
Summary:                    [patch] 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0107268) svnbot (reporter) - 2009-06-30 16:21
 https://issues.asterisk.org/view.php?id=15022#c107268 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 204581

_U  branches/1.6.0/
U   branches/1.6.0/UPGRADE.txt
U   branches/1.6.0/main/say.c

------------------------------------------------------------------------
r204581 | tilghman | 2009-06-30 16:21:44 -0500 (Tue, 30 Jun 2009) | 20
lines

Merged revisions 204563 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r204563 | tilghman | 2009-06-30 15:41:04 -0500 (Tue, 30 Jun 2009) | 13
lines
  
  Merged revisions 204556 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r204556 | tilghman | 2009-06-30 15:23:51 -0500 (Tue, 30 Jun 2009) | 6
lines
    
    More incorrect language codes, plus ensuring that regionalizations use
the specified language, and not English for grammar.
    (closes issue https://issues.asterisk.org/view.php?id=15022)
     Reported by: greenfieldtech
     Patches: 
           20090519__issue15022.diff.txt uploaded by tilghman (license 14)
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=204581 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-30 16:21 svnbot         Checkin                                      
2009-06-30 16:21 svnbot         Note Added: 0107268                          
======================================================================




More information about the asterisk-bugs mailing list