[asterisk-bugs] [Asterisk 0016102]: default say.conf for new number method doesnt handle all numbers

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 20 10:18:43 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16102 
====================================================================== 
Reported By:                Delvar
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16102
Category:                   Applications/app_playback
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-20 09:11 CDT
Last Modified:              2009-10-20 10:18 CDT
====================================================================== 
Summary:                    default say.conf for new number method doesnt handle
all numbers
Description: 
the [en-base] in say.conf by default doesnt work very well when dealing
with numbers like 100,100,100 (one hundred million one hundred thousand one
hundred)

firstly it actualt says,
one hundred million zerro one hundred thousand zerro one hundred zerro
secondly its missing the 'and'

one hundred million one hundred thousand /and/ one hundred

anyway i spent an hour or so writing a new say.conf, ill upload it here
along with a test dialplan to show it working.
====================================================================== 

---------------------------------------------------------------------- 
 (0112471) Delvar (reporter) - 2009-10-20 10:18
 https://issues.asterisk.org/view.php?id=16102#c112471 
---------------------------------------------------------------------- 
the exact rules im not sure of, i can only go by what sounds right to me
and the people i know (im no linguist!)
but there is always an ‘and’ between the Hundred and the tens or
singles (if there are no other numbers after the hundred there is no
‘and’)
and there is always an ‘and’ before the last number is said be that
10, 100 or even 1,000

100,100,100
one hundred million one hundred thousand /and/ one hundred

100,123,100
one hundred million one hundred /and/ twenty tree thousand /and/ one
hundred

100,123,123
one hundred million one hundred /and/ twenty three thousand one hundred
/and/ twenty tree

105,001,000
one hundred /and/ five million /and/ one thousand

125,063,000
one hundred /and/ twenty five million /and/ sixty three thousand

if you want more examples I can go all day :D 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-20 10:18 Delvar         Note Added: 0112471                          
======================================================================




More information about the asterisk-bugs mailing list