How to change sound-path when switch language
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 Dome C.
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@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
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@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@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Please open a jira about this. /b On Jun 22, 2009, at 4:10 AM, Dome Charoenyost wrote:
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.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
participants (2)
-
Brian West
-
Dome Charoenyost