[Asterisk-Users] can asterisk to say chinese like say english
trixter aka Bret McDanel
trixter at 0xdecafbad.com
Fri Feb 3 20:12:43 MST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060203/5049ca8a/attachment.pgp
More information about the asterisk-users
mailing list