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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 23 09:52:32 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15626 
====================================================================== 
Reported By:                dinhtrung
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15626
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
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-11-23 09:52 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0114148) dinhtrung (reporter) - 2009-11-23 09:52
 https://issues.asterisk.org/view.php?id=15626#c114148 
---------------------------------------------------------------------- 
Update the patch for Asterisk 1.6.2rc6 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-23 09:52 dinhtrung      Note Added: 0114148                          
======================================================================




More information about the asterisk-bugs mailing list