Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to change sound-path when switch language


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Mon Jun 22, 2009 3:11 am    Post subject: [Freeswitch-users] How to change sound-path when switch lang Reply with quote

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>:
Quote:
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



_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Jun 22, 2009 8:33 am    Post subject: [Freeswitch-users] How to change sound-path when switch lang Reply with quote

Please open a jira about this.

/b

On Jun 22, 2009, at 4:10 AM, Dome Charoenyost wrote:
Quote:
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 (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services