Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-21 Thread Soren Rathje
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, 100) in new stack
-- Playing 'digits/1' (language 'da')
-- Playing 'digits/million' (language 'da')
-- Playing 'digits/and' (language 'da')

-- Executing SayNumber(SIP/1000-497f, 101) 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

(100,101...199)
en|million,
en|million|og|en,
...,
en|million|og|ni|og|halvfems

(1000100...199)
en|million|et|hundrede,
...,
en|million|ni|hundrede|ni|og|halvfems|tusinde|ni|hundrede|ni|og|ni|og|halvfe
ms

(200...X)
to|millioner...X

-- Soren

- Original Message - 
From: Olle E. Johansson [EMAIL PROTECTED]
To: Users Asterisk [EMAIL PROTECTED]
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


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-21 Thread Olle E. Johansson
Sören!
Tusen Tack :-)
I'll add your input and will see what I can do to fix this. Does the other danish
people agree?
For the rest of you - please add your input to the bugtracker. For those
of you who have earlier contributed with patches, answer my e-mails!
If I don't get disclaimers from the french, portuguese, spanish or danish
contributors, we might have to rip those languages out of the patch again.
If there are other people out there that have written the code to support
one of these languages, please contribute your code with a disclaimer so
I can replace the current non-disclaimed code with your code.
/Olle
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: [Asterisk-Users] Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-20 Thread Olle E. Johansson
Matt Riddell wrote:
I have the sounds for French, but can record more if necessary.  They are
available at www.sineapps.com
Is a disclaimer required on these?
To have all bases covered, sign a disclaimer, fax it in and add the sounds
to the bug report.
Is all the digit-files for the french say.c patch in there?

Is it up to date with current CVS - head and stable? There's been some
additions to sound files recently.
/O
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-19 Thread Olle E. Johansson
http://bugs.digium.com/bug_view_page.php?bug_id=0001429

* Support for other language syntaxes in saynumber

Accidentally I opened this can of worms to see if we can add support
for other language syntaxes for saying numbers. Seems like Swedish,
english and norwegian follow the same syntax. I've integrated
existing patches for french, danish and soon portuguese syntax.
The steps we're taking are:

* First a quick-fix only for saying numbers
* Adding documentation and sample sound files
  Many patches require additional sound files compared with the
  english set.
* For a coming release we need a more general architecture that
  includes more phrases, time and date. This will be done with
  loadable modules for various languages.
I need the original contributors of danish, french and portuguese
to fax a disclaimer to Digium. See http://bugs.digium.com
Also, I need users in these language territories to test the
patch and add feedback to the bugtracker. I can try to put all this
together into one unified patch, but not test everything for every
language.
If you have a patch for another syntax, please add it quickly to
the bugtracker and fax in the disclaimer, so we can use it.
If you have sound files for a language with decent quality that
you can share to the community, please do so by adding them to
the bug tracker.
* 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

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-19 Thread Brancaleoni Matteo
hi Olle.

I have a patch for italian.

should it be for plain say.c or for your modified say.c ?

Also I have some the .it audio files, I'll ask
if I can distribute them 
(perhaps with some credit to the company I work for, that
payed them...)

Matteo

Il lun, 2004-04-19 alle 21:53, Olle E. Johansson ha scritto:
 http://bugs.digium.com/bug_view_page.php?bug_id=0001429
 
 * Support for other language syntaxes in saynumber
 
 Accidentally I opened this can of worms to see if we can add support
 for other language syntaxes for saying numbers. Seems like Swedish,
 english and norwegian follow the same syntax. I've integrated
 existing patches for french, danish and soon portuguese syntax.
 
 The steps we're taking are:
 
 * First a quick-fix only for saying numbers
 * Adding documentation and sample sound files
Many patches require additional sound files compared with the
english set.
 * For a coming release we need a more general architecture that
includes more phrases, time and date. This will be done with
loadable modules for various languages.
 
 I need the original contributors of danish, french and portuguese
 to fax a disclaimer to Digium. See http://bugs.digium.com
 
 Also, I need users in these language territories to test the
 patch and add feedback to the bugtracker. I can try to put all this
 together into one unified patch, but not test everything for every
 language.
 
 
 If you have a patch for another syntax, please add it quickly to
 the bugtracker and fax in the disclaimer, so we can use it.
 
 If you have sound files for a language with decent quality that
 you can share to the community, please do so by adding them to
 the bug tracker.
 
 * 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
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Brancaleoni Matteo [EMAIL PROTECTED]
Espia - Emmegi Srl

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-19 Thread Olle E. Johansson
Brancaleoni Matteo wrote:

hi Olle.

I have a patch for italian.
Great.
should it be for plain say.c or for your modified say.c ?
If you have one that builds on my patch, that'll make life easier
for me. THank you!
Also I have some the .it audio files, I'll ask
if I can distribute them 
(perhaps with some credit to the company I work for, that
payed them...)
Of course.

Anyone else? This seems so focused on Western Europe?

/O
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: [Asterisk-Users] One, två, tre, quatre, cinq ... International numbers in say.c

2004-04-19 Thread Matt Riddell
I have the sounds for French, but can record more if necessary.  They are
available at www.sineapps.com

Is a disclaimer required on these?

Kind regards,

Matt Riddell
- Original Message - 
From: Olle E. Johansson [EMAIL PROTECTED]
To: Users Asterisk [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 7:53 AM
Subject: [Asterisk-Users] One, två, tre, quatre, cinq ... International
numbers in say.c


| http://bugs.digium.com/bug_view_page.php?bug_id=0001429
|
| * Support for other language syntaxes in saynumber
|
| Accidentally I opened this can of worms to see if we can add support
| for other language syntaxes for saying numbers. Seems like Swedish,
| english and norwegian follow the same syntax. I've integrated
| existing patches for french, danish and soon portuguese syntax.
|
| The steps we're taking are:
|
| * First a quick-fix only for saying numbers
| * Adding documentation and sample sound files
|Many patches require additional sound files compared with the
|english set.
| * For a coming release we need a more general architecture that
|includes more phrases, time and date. This will be done with
|loadable modules for various languages.
|
| I need the original contributors of danish, french and portuguese
| to fax a disclaimer to Digium. See http://bugs.digium.com
|
| Also, I need users in these language territories to test the
| patch and add feedback to the bugtracker. I can try to put all this
| together into one unified patch, but not test everything for every
| language.
|
|
| If you have a patch for another syntax, please add it quickly to
| the bugtracker and fax in the disclaimer, so we can use it.
|
| If you have sound files for a language with decent quality that
| you can share to the community, please do so by adding them to
| the bug tracker.
|
| * 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
|
|
| ___
| Asterisk-Users mailing list
| [EMAIL PROTECTED]
| http://lists.digium.com/mailman/listinfo/asterisk-users
| To UNSUBSCRIBE or update options visit:
|http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users