[Freeswitch-users] How to change sound-path when switch language
Dome Charoenyost
dome at tel.co.th
Mon Jun 22 01:10:28 PDT 2009
default_language still don't work wirh say
but sound_prefix work fine.
example my javascript
-------------------------------
session.execute("set", "sound_prefix=/opt/freeswitch/sounds/th");
session.execute("say","th number pronounced 1346523");
session.execute("say","th number pronounced 21");
session.execute("say","th number pronounced 11");
session.execute("say","th number pronounced 101");
How to check in mod_say_th back to freeswotch ?
Dome C.
2009/6/3 Brian West <brian at freeswitch.org>:
> You'll need to set the variable default_language
> /b
> On Jun 2, 2009, at 2:42 PM, Dome Charoenyost wrote:
>
> Dear sir,
> i create mod_say_th for Thai language. i found some problem
> about sound-path.
> I have config th.xml in conf/lang/th/
> <language name="en" sound-path="$${base_dir}/sounds/en"
> tts-engine="cepstral" tts-voice="callie">
> ...
>
> when i try
> <action application="say" data="th number pronounced 20230021"/>
> Freeswitch still looking sounf file in /sounds/en/us/callie (en
> sound-path)
>
> Someone help me please
>
> Brian West
> brian at freeswitch.org
> -- Meet us at ClueCon! http://www.cluecon.com
>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
More information about the FreeSWITCH-users
mailing list