Adding Spanish support to say
Hello everyone, 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? Thanks! -- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Replying to myself... I forgot to indicate my version! I am running trunk rev 12862 on CentOS 5 x86_64. On Tue, Apr 14, 2009 at 12:51 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com> wrote:
Hello everyone,
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?
Thanks!
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Nobody has written the es language files. Those would need to be written. /b On Apr 14, 2009, at 11:54 AM, Kristian Kielhofner wrote:
Replying to myself... I forgot to indicate my version! I am running trunk rev 12862 on CentOS 5 x86_64.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
KK, Do you have someone who knows Spanish and who can translate? If not I will whip up some volunteers from the FS community. Thanks, MC On Tue, Apr 14, 2009 at 10:01 AM, Brian West <brian@freeswitch.org> wrote:
Nobody has written the es language files. Those would need to be written. /b
On Apr 14, 2009, at 11:54 AM, Kristian Kielhofner wrote:
Replying to myself... I forgot to indicate my version! I am running trunk rev 12862 on CentOS 5 x86_64.
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
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita On Apr 14, 2009, at 2:37 PM, Michael Collins wrote:
KK, Do you have someone who knows Spanish and who can translate? If not I will whip up some volunteers from the FS community.
Thanks, MC
On Tue, Apr 14, 2009 at 10:01 AM, Brian West <brian@freeswitch.org> wrote: Nobody has written the es language files. Those would need to be written.
/b
On Apr 14, 2009, at 11:54 AM, Kristian Kielhofner wrote:
Replying to myself... I forgot to indicate my version! I am running trunk rev 12862 on CentOS 5 x86_64.
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
This also requires you to write all the phrase macros for voicemail, ivr and other things in the demo in lang/en/ /b On Apr 14, 2009, at 12:48 PM, João Mesquita wrote:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that.
I can also translate to portuguese-brazil.
jmesquita
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
Brian, For my application I just need to be able to say a string of numbers - Caller ID, etc. Other than the files used there is no syntax or grammar difference (in Spanish) when compared to English. I should just be able to drop the files in. I'll have a problem when I need to handle IVR, voicemail, and other more complex issues but this will solve my immediate needs. For now I'm just trying to figure out how to get language "es" recognized by say... On Tue, Apr 14, 2009 at 1:57 PM, Brian West <brian@freeswitch.org> wrote:
This also requires you to write all the phrase macros for voicemail, ivr and other things in the demo in lang/en/ /b On Apr 14, 2009, at 12:48 PM, João Mesquita wrote:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
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
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Cool. We've had several volunteers start translating the phrase files into Spanish and Brazilian Portugese. We'll keep you posted when we have the Spanish one ready. FYI, I committed a stub phrase_es.xml file but it hasn't been translated yet except for the first twenty digits. However, there aren't any audio files associated with it yet... -MC On Tue, Apr 14, 2009 at 11:07 AM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
Brian,
For my application I just need to be able to say a string of numbers - Caller ID, etc.
Other than the files used there is no syntax or grammar difference (in Spanish) when compared to English. I should just be able to drop the files in.
I'll have a problem when I need to handle IVR, voicemail, and other more complex issues but this will solve my immediate needs.
For now I'm just trying to figure out how to get language "es" recognized by say...
On Tue, Apr 14, 2009 at 1:57 PM, Brian West <brian@freeswitch.org> wrote:
This also requires you to write all the phrase macros for voicemail, ivr and other things in the demo in lang/en/ /b On Apr 14, 2009, at 12:48 PM, João Mesquita wrote:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
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
-- 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
Hey guys, If you need some Spanish help count with my help also. Diego On Tue, Apr 14, 2009 at 2:12 PM, Michael Collins <msc@freeswitch.org> wrote:
Cool. We've had several volunteers start translating the phrase files into Spanish and Brazilian Portugese. We'll keep you posted when we have the Spanish one ready. FYI, I committed a stub phrase_es.xml file but it hasn't been translated yet except for the first twenty digits. However, there aren't any audio files associated with it yet...
-MC
On Tue, Apr 14, 2009 at 11:07 AM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
Brian,
For my application I just need to be able to say a string of numbers - Caller ID, etc.
Other than the files used there is no syntax or grammar difference (in Spanish) when compared to English. I should just be able to drop the files in.
I'll have a problem when I need to handle IVR, voicemail, and other more complex issues but this will solve my immediate needs.
For now I'm just trying to figure out how to get language "es" recognized by say...
On Tue, Apr 14, 2009 at 1:57 PM, Brian West <brian@freeswitch.org> wrote:
This also requires you to write all the phrase macros for voicemail, ivr and other things in the demo in lang/en/ /b On Apr 14, 2009, at 12:48 PM, João Mesquita wrote:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
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
-- 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
_______________________________________________ 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
I'm a native spanish speaker, I can help too! Nicolás Brenner On Tue, Apr 14, 2009 at 2:56 PM, Diego Viola <diego.viola@gmail.com> wrote:
Hey guys,
If you need some Spanish help count with my help also.
Diego
On Tue, Apr 14, 2009 at 2:12 PM, Michael Collins <msc@freeswitch.org>wrote:
Cool. We've had several volunteers start translating the phrase files into Spanish and Brazilian Portugese. We'll keep you posted when we have the Spanish one ready. FYI, I committed a stub phrase_es.xml file but it hasn't been translated yet except for the first twenty digits. However, there aren't any audio files associated with it yet...
-MC
On Tue, Apr 14, 2009 at 11:07 AM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
Brian,
For my application I just need to be able to say a string of numbers - Caller ID, etc.
Other than the files used there is no syntax or grammar difference (in Spanish) when compared to English. I should just be able to drop the files in.
I'll have a problem when I need to handle IVR, voicemail, and other more complex issues but this will solve my immediate needs.
For now I'm just trying to figure out how to get language "es" recognized by say...
On Tue, Apr 14, 2009 at 1:57 PM, Brian West <brian@freeswitch.org> wrote:
This also requires you to write all the phrase macros for voicemail, ivr and other things in the demo in lang/en/ /b On Apr 14, 2009, at 12:48 PM, João Mesquita wrote:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
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
-- 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
_______________________________________________ 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
On Tue, Apr 14, 2009 at 2:12 PM, Michael Collins <msc@freeswitch.org> wrote:
Cool. We've had several volunteers start translating the phrase files into Spanish and Brazilian Portugese. We'll keep you posted when we have the Spanish one ready. FYI, I committed a stub phrase_es.xml file but it hasn't been translated yet except for the first twenty digits. However, there aren't any audio files associated with it yet...
-MC
Is there anything I can do with this file now? I can't seem to find the relationship between any of the phrase files in that directory and my running configuration. -- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
Has there been any update on this? I am willing to pay someone to add support for Spanish digits. I need this functionality to finish a project. 2009/4/14 João Mesquita <jmesquita@gmail.com>:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
what is needed to have spanish support, i'speak spanish its my native language. On Wed, Apr 15, 2009 at 9:39 PM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
Has there been any update on this?
I am willing to pay someone to add support for Spanish digits. I need this functionality to finish a project.
2009/4/14 João Mesquita <jmesquita@gmail.com>:
I know spanish and I would translate it no problem. MC, get in touch with me off-list so we can handle that. I can also translate to portuguese-brazil. jmesquita
-- 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
Have to record all the sound files in your voice at 48kHz with a good mic and no background noise! ;) /b On Apr 15, 2009, at 3:13 PM, Cesar Bermudez wrote:
what is needed to have spanish support, i'speak spanish its my native language.
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
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> wrote:
Have to record all the sound files in your voice at 48kHz with a good mic and no background noise! ;) /b
On Apr 15, 2009, at 3:13 PM, Cesar Bermudez wrote:
what is needed to have spanish support, i'speak spanish its my native language.
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
its in doc/phrase/phrase_es.xml /b On Apr 15, 2009, at 3:44 PM, Cesar Bermudez wrote:
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> wrote: Have to record all the sound files in your voice at 48kHz with a good mic and no background noise! ;)
/b
On Apr 15, 2009, at 3:13 PM, Cesar Bermudez wrote:
what is needed to have spanish support, i'speak spanish its my native language.
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
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
my voice maybe its not the best todo this, but i'have a friend that work in a radio. ;) On Wed, Apr 15, 2009 at 10:27 PM, Brian West <brian@freeswitch.org> wrote:
Have to record all the sound files in your voice at 48kHz with a good mic and no background noise! ;) /b
On Apr 15, 2009, at 3:13 PM, Cesar Bermudez wrote:
what is needed to have spanish support, i'speak spanish its my native language.
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
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> wrote:
Have to record all the sound files in your voice at 48kHz with a good mic and no background noise! ;) /b
On Apr 15, 2009, at 3:13 PM, Cesar Bermudez wrote:
what is needed to have spanish support, i'speak spanish its my native language.
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
Any updates on this? My offer still stands but for the time being I just need some basic "say" support for digits... On Wed, Apr 15, 2009 at 4:51 PM, Michael Collins <msc@freeswitch.org> wrote:
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
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
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> wrote:
Any updates on this? My offer still stands but for the time being I just need some basic "say" support for digits...
On Wed, Apr 15, 2009 at 4:51 PM, Michael Collins <msc@freeswitch.org> wrote:
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
-- 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
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:
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
On Tue, Apr 21, 2009 at 12:55 PM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
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.
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
On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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... -- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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
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> wrote:
On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner < kristian.kielhofner@gmail.com> wrote:
On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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
sound_prefix? Mike On Apr 21, 2009, at 8:02 PM, Michael Collins wrote:
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> wrote: On Tue, Apr 21, 2009 at 1:33 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com
wrote: On Tue, Apr 21, 2009 at 4:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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...
On Tue, Apr 21, 2009 at 5:17 PM, Michael Jerris <mike@jerris.com> wrote:
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/elianna sh-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/8000 sh-3.2# ls 0.wav <snip> ...And... sh-3.2# cd /usr/local/freeswitch/sounds/es/ar/elianna/digits/16000 sh-3.2# ls 0.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 es 2009-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
Hi I can also help with the translation into Spanish. Spanish is my native language. I can be contacted at: rjpereyra (at) gmail (dot) com roberto -- The best dedicated servers - LiquidWeb http://www.liquidweb.com/?RID=contenid
Michael, This is exactly what I am experiencing. On Tue, Apr 21, 2009 at 8:02 PM, Michael Collins <msc@freeswitch.org> wrote:
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
-- Kristian Kielhofner http://blog.krisk.org http://www.submityoursip.com http://www.astlinux.org http://www.star2star.com
participants (9)
-
Brian West
-
Cesar Bermudez
-
Diego Viola
-
João Mesquita
-
Kristian Kielhofner
-
Michael Collins
-
Michael Jerris
-
Nicolas Brenner
-
Roberto Pereyra