VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
cesar.bermudez at gmai... Guest
|
Posted: Wed Apr 15, 2009 4:01 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
can some of you provide the list of sounds or the words that need to be recorded?
On Wed, Apr 15, 2009 at 10:27 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Apr 15, 2009 4:04 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
FYI, we have translation of the phrase file happening right now. But KK's question is still valid: what does he need to do to get over the hump?
-MC
On Wed, Apr 15, 2009 at 1:27 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 2:23 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
As soon as you sign up for Cluecon I'll have something for your.
Okay, seriously we have been working on this. Let me check in with a few people and see where they're at. For the sake of not having any miscommunications could you please recap what you're doing and the issue you're having with the say support in espanol? Thanks!
-MC
On Tue, Apr 21, 2009 at 11:47 AM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
Posted: Tue Apr 21, 2009 2:56 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
I'm still figuring out my schedule! I should know soon...
Here is the description of what I am trying to do from my original post:
I'm trying to add Spanish support to say. I'm using something like:
<include>
<language name="es" sound-path="$${base_dir}/sounds/es/mx/asterisk"
tts-engine="cepstral" tts-voice="callie">
<X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this
now grabs whole subdir, previously grabbed only demo.xml -->
<!--voicemail_en_tts is purely implemented with tts, we have the
files based one that is the default. -->
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!--
vm/tts.xml if you want to use tts and have cepstral -->
</language>
</include>
in conf/lang/es which is included by freeswitch.conf:
<X-PRE-PROCESS cmd="include" data="lang/es/*.xml"/>
..right after English. Yet I continue to get
[ERR] switch_ivr.c:2014 switch_ivr_say() Invalid SAY Interface [es]!
Whenever trying to use say:
<action application="say" data="es name_spelled pronounced
${caller_id_number}"/>
What am I missing?
On Tue, Apr 21, 2009 at 3:14 PM, Michael Collins <msc@freeswitch.org> wrote:
Quote: | As soon as you sign up for Cluecon I'll have something for your.
Okay, seriously we have been working on this. Let me check in with a few
people and see where they're at. For the sake of not having any
miscommunications could you please recap what you're doing and the issue
you're having with the say support in espanol? Thanks!
-MC
|
--
Kristian Kielhofner
http://blog.krisk.org
http://www.submityoursip.com
http://www.astlinux.org
http://www.star2star.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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 3:16 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
On Tue, Apr 21, 2009 at 12:55 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote: | I'm still figuring out my schedule! I should know soon... |
Hehe, I'm just giving you a hard time. However, we definitely want you at Cluecon.
Quote: |
Here is the description of what I am trying to do from my original post:
I'm trying to add Spanish support to say. I'm using something like:
<include>
<language name="es" sound-path="$${base_dir}/sounds/es/mx/asterisk"
tts-engine="cepstral" tts-voice="callie">
<X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this
now grabs whole subdir, previously grabbed only demo.xml -->
<!--voicemail_en_tts is purely implemented with tts, we have the
files based one that is the default. -->
<X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!--
vm/tts.xml if you want to use tts and have cepstral -->
</language>
</include>
in conf/lang/es which is included by freeswitch.conf:
<X-PRE-PROCESS cmd="include" data="lang/es/*.xml"/>
..right after English. Yet I continue to get
[ERR] switch_ivr.c:2014 switch_ivr_say() Invalid SAY Interface [es]!
Whenever trying to use say:
<action application="say" data="es name_spelled pronounced
${caller_id_number}"/>
What am I missing? |
Okay, dumb questions...
#1 - did you enable mod_say_es in modules.conf and compile it?
#2 - did you load mod_say_es in modules.conf.xml?
If I already asked those questions then my apologies....
-MC |
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 4:41 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote: | On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: |
Okay, dumb questions...
#1 - did you enable mod_say_es in modules.conf and compile it?
#2 - did you load mod_say_es in modules.conf.xml?
If I already asked those questions then my apologies....
-MC
|
MC,
Not dumb questions at all!
That was it, at least for the error I was getting. Now say doesn't
complain about not knowing "es". However, the digits still don't play
in Spanish. I wonder if my lang files are correct? Everything there
seems pretty straightforward... |
Gimme about 30 minutes to lab this up and see if I can duplicate your issue...
-MC |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Apr 21, 2009 7:02 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
Kristian,
The symptom I'm experiencing is that no matter what language I specify, it still plays the English sound files. Is that what you're experiencing? I've run it with debug logging turned on and combed through the source code and I can't find anything that explicitly falls back to English when the other language has failed for some reason. In fact, I get no errors of any kind. I'll have to defer to the masters on this one.
-MC
On Tue, Apr 21, 2009 at 2:40 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: | On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote: | On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: |
Okay, dumb questions...
#1 - did you enable mod_say_es in modules.conf and compile it?
#2 - did you load mod_say_es in modules.conf.xml?
If I already asked those questions then my apologies....
-MC
|
MC,
Not dumb questions at all!
That was it, at least for the error I was getting. Now say doesn't
complain about not knowing "es". However, the digits still don't play
in Spanish. I wonder if my lang files are correct? Everything there
seems pretty straightforward... |
Gimme about 30 minutes to lab this up and see if I can duplicate your issue...
-MC
|
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Tue Apr 21, 2009 7:19 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
sound_prefix?
Mike
On Apr 21, 2009, at 8:02 PM, Michael Collins wrote:
Quote: | Kristian,
The symptom I'm experiencing is that no matter what language I specify, it still plays the English sound files. Is that what you're experiencing? I've run it with debug logging turned on and combed through the source code and I can't find anything that explicitly falls back to English when the other language has failed for some reason. In fact, I get no errors of any kind. I'll have to defer to the masters on this one.
-MC
On Tue, Apr 21, 2009 at 2:40 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: | On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com (kristian.kielhofner@gmail.com)> wrote:
Quote: | On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: |
Okay, dumb questions...
#1 - did you enable mod_say_es in modules.conf and compile it?
#2 - did you load mod_say_es in modules.conf.xml?
If I already asked those questions then my apologies....
-MC
|
MC,
Not dumb questions at all!
That was it, at least for the error I was getting. Now say doesn't
complain about not knowing "es". However, the digits still don't play
in Spanish. I wonder if my lang files are correct? Everything there
seems pretty straightforward... |
Gimme about 30 minutes to lab this up and see if I can duplicate your issue...
|
|
|
|
Back to top |
|
|
kristian.kielhofner at... Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Apr 22, 2009 4:13 pm Post subject: [Freeswitch-users] Adding Spanish support to say |
|
|
On Tue, Apr 21, 2009 at 5:17 PM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote: | sound_prefix?
Mike
|
I can find no evidence of a sound prefix issue. Here's my language setup from es.xml:
<include> <language name="es" sound-path="$${base_dir}/sounds/es/ar/elianna" tts-engine="cepstral" tts-voice="callie"> <X-PRE-PROCESS cmd="include" data="demo/*.xml"/> <!-- Note: this now grabs whole subdir, previously grabbed only demo.xml --> <!--voicemail_en_tts is purely implemented with tts, we have the files based one that is the default. --> <X-PRE-PROCESS cmd="include" data="vm/sounds.xml"/> <!-- vm/tts.xml if you want to use tts and have cepstral --> </language></include>
base_dir is, of course, "/usr/local/freeswitch" and the sounds/es/ar/elianna/ directory does indeed exist:
sh-3.2# cd /usr/local/freeswitch/sounds/es/ar/elianna/sh-3.2# pwd /usr/local/freeswitch/sounds/es/ar/eliannash-3.2#
I also have the digits directories set up identically. I created 8000 and 16000 directories:
sh-3.2# cd /usr/local/freeswitch/sounds/es/ar/elianna/digits/8000sh-3.2# ls 0.wav<snip>
...And...
sh-3.2# cd /usr/local/freeswitch/sounds/es/ar/elianna/digits/16000 sh-3.2# ls0.wav <snip>
I'm calling with a headset connected to my Mac, using pa. I created extension 12345 to test this:
<extension name="spanish test"> <condition field="destination_number" expression="^(12345)$"> <action application="set" data="default_language=es"/> <action application="say" data="es number iterated $1"/> <action application="sleep" data="2000"/> <action application="say" data="es number iterated 987654321"/> <action application="hangup"/> </condition> </extension>
And here's the debug log when calling:
http://pastebin.freeswitch.org/8679
Too much to put it all here, but the highlights are:
EXECUTE portaudio/12345 set(default_language=es) 2009-04-22 14:00:29 [DEBUG] mod_dptools.c:748 set_function() portaudio/12345 SET [default_language]=[es]EXECUTE portaudio/12345 say(es number iterated 12345) 2009-04-22 14:00:29 [NOTICE] switch_ivr.c:2012 switch_ivr_say() Using SAY Interface es2009-04-22 14:00:29 [NOTICE] mod_say_es.c:504 es_say() Using es callback [tosay: 12345, type: 0, method: 2] 2009-04-22 14:00:29 [DEBUG] switch_ivr_play_say.c:993 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 20ms 2009-04-22 14:00:30 [DEBUG] switch_ivr_play_say.c:1283 switch_ivr_play_file() done playing file
FYI, I manually added those two NOTICE lines in the source code as a sanity-saver.
No matter what, it plays the English files even though it appears that the "es" say module is there and available. No errors or warnings about missing files so unless there's a silent failover I'd have to say that something else is going on.
Thoughts?
-MC |
|
Back to top |
|
|
pereyra.roberto at gma... Guest
|
|
Back to top |
|
|
|
|
|
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
|