[asterisk-bugs] [Asterisk 0015626]: [patch] Vietnamese support for SayNumber() function.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 3 14:16:41 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15626 
====================================================================== 
Reported By:                dinhtrung
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15626
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-409 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-31 15:31 CDT
Last Modified:              2009-12-03 14:16 CST
====================================================================== 
Summary:                    [patch] Vietnamese support for SayNumber() function.
Description: 
Hi, I have successfully add another function for Vietnamese : SayNumber().
There are some minor changes in the way we Vietnamese speak numbers.
For examples:
- 1050 = 1 + thousand + 0 + hundred + 50 (in English : 1 + thousand + 50).
I used the file 0-hundred.wav for this.
- 1007 = 1 + thousand + 0 + hundred + odd + 7 (the file odd.wav can have
another meaning, not only on the contrary with "even". We usually add "odd"
if the number has 2 "0" in the middle, like 2008, 3004... I used the file
0-hundred-odd.wav for this.
- For the last number, if it's a 5, then if the number before it is not a
0, we will use another word for it. E.g, 25 is not 20 + 5, but 20 + 5l. So
is 15, 35, 45, 55... But 05 is 5. So I add another sound file named 5l.wav
here to separate this.

I hope this will help Asterisk better support Vietnamese.

Sorry for my bad English.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-03 14:16 lmadsen        Assigned To               => qwell           
2009-12-03 14:16 lmadsen        Target Version            => 1.8             
2009-12-03 14:16 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list