[Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c
Soren Rathje
asterisk at lolle.org
Wed Apr 21 09:25:25 MST 2004
I did a quick test with the danish numbers in say.c patch (04-20-04 02:11)
and found this..
*1 -- Executing SayNumber("SIP/1000-497f", "1") in new stack
-- Playing 'digits/1' (language 'da')
*2 -- Executing SayNumber("SIP/1000-497f", "100") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/hundred' (language 'da')
*3 -- Executing SayNumber("SIP/1000-497f", "101") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/hundred' (language 'da')
-- Playing 'digits/1' (language 'da')
*4 -- Executing SayNumber("SIP/1000-497f", "1000") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/thousand' (language 'da')
-- Playing 'digits/and' (language 'da')
-- Executing SayNumber("SIP/1000-497f", "1001") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/thousand' (language 'da')
-- Playing 'digits/and' (language 'da')
-- Playing 'digits/1' (language 'da')
*5 -- Executing SayNumber("SIP/1000-497f", "1000000") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/million' (language 'da')
-- Playing 'digits/and' (language 'da')
-- Executing SayNumber("SIP/1000-497f", "1000001") in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/million' (language 'da')
-- Playing 'digits/and' (language 'da')
-- Playing 'digits/1' (language 'da')
*1) pronounced "en", not an issue in itself but see next point.
*2) pronounced "et" + "hundrede", different digit 1 "et".
*3) pronounced "et" + "hundrede" + "og" + "en", there is an "og" missing.
*4) pronounced "et" + "tusinde", no need for the "og"
*5) pronounced "en" + "million", no need for the "og"
A few pointers to how it is done...
(Last time I translated VoiceMail software was 7 years ago and the biggest
problem was making our vendor understand that we needed two different 1's. )
(1,2,3...99)
en, to, tre...ni|og|halvfems
(100,101...199)
et|hundrede,
et|hundrede|og|en,
...,
et|hundrede|og|ni|og|halvfems
(1000,1001...1099)
et|tusinde,
et|tusinde|og|en,
...,
et|tusinde|og|ni|og|halvfems
(1100,1101...1999)
et|tusinde|et|hundrede,
et|tusinde|et|hundrede|og|en,
...,
et|tusinde|ni|hundrede|ni|og|halvfems
(1000000,1000001...1000099)
en|million,
en|million|og|en,
...,
en|million|og|ni|og|halvfems
(1000100...1999999)
en|million|et|hundrede,
...,
en|million|ni|hundrede|ni|og|halvfems|tusinde|ni|hundrede|ni|og|ni|og|halvfe
ms
(2000000...X)
to|millioner...X
-- Soren
----- Original Message -----
From: "Olle E. Johansson" <oej at edvina.net>
To: "Users Asterisk" <asterisk-users at lists.digium.com>
Sent: Monday, April 19, 2004 9:53 PM
Subject: [Asterisk-Users] One, två, tre, quatre, cinq ... International
numbers in say.c
> http://bugs.digium.com/bug_view_page.php?bug_id=0001429
>
[SNIP]
>
> ***** If we all work on this together quickly, we may have a
> working say.c in the CVS soon. But to even ask a committer for
> support, I need test results up there on the bug tracker. *****
>
> Thank you for your support!
>
> /Olle
More information about the asterisk-users
mailing list