[Asterisk-Users] can asterisk to say chinese like say english

Wai Wu wwu at Calltrol.com
Fri Feb 3 21:32:32 MST 2006


A better solution is write special modules for different language to say 1) a string of digits 2) numbers 3) currencies

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of trixter aka
Bret McDanel
Sent: Friday, February 03, 2006 10:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] can asterisk to say chinese like say
english


On Sat, 2006-02-04 at 10:59 +0800, Jeffery Chen wrote:
> this is not just playback recorded voice. this is let asterisk say chinese.
> how to do this.
> 
> there have any ideas?

its a little more than recorded files for some languages. Say has a few
different sub-applications like SayNumber which says a number.  Some
langauges, like Japanese need to have a context for numbers to say them
correctly, so if you record 'ni' for '2' then it will say 'ni' every
time it is to say the number two which doesnt work well when there are
differences, 2 calls in the queue, 2 minutes left, etc.  If this
limitation is fine for chineese (I dont know) then you can simply just
record a few files, place them into your sounds directory (subdir the
language name ie /var/lib/asterisk/sounds/cn) and SetLanguage in your
dialplan to 'cn' for example to use the sounds from there.  If you dont
need it to be so dynamic you can set the language in your config files
instead.

http://www.voip-info.org/wiki-Asterisk+multi-language

has more info



-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
http://www.sacaug.org/ Sacramento Asterisk Users Group



More information about the asterisk-users mailing list