[Freeswitch-users] Make freeswitch use spanish sounds...
msc at freeswitch.org
Wed Oct 19 00:57:22 MSD 2011
Well, be sure to build mod_say_es. From your FS source tree:
Unfortunately it looks like the installer does not create a conf/lang/es/
directory for you, so you will need to create one yourself. Copy the
conf/lang/en/* directory structure and files into conf/lang/es/*
After that go into conf/lang/es and rename en.xml to es.xml. Open that file
and look for this line:
<language name="en" say-module="en"
Change it to:
<language name="es" say-module="es"
Be sure to put your maria sounds in the proper directory structure, just
like the sounds/en/us/callie files are.
You will also need to add a line to freeswitch.xml like the other langs:
<X-PRE-PROCESS cmd="include" data="lang/es/*.xml"/>
If you want to load mod_say_es automatically then add it to
conf/autoload_configs/modules.conf, otherwise restart FreeSWITCH and do
"load mod_say_es" and hopefully nothing blows up! :)
Also, you may want to set the default language on calls that you know are
Spanish. Check out this wiki page for assistance. (
On Tue, Oct 18, 2011 at 1:32 PM, Francisco Javier Cintrón Olguín <
fcintrono at gmail.com> wrote:
> I downloaded this file which is a set of spanish sounds for freeswitch:
> As you see It only has sounds for the 44100 frecuency.
> To generate files for the 8000, 16000 and 32000 frecuencies, I untarred
> the file inside freeswitch/sounds directory.
> After I untarred the file, there was a directory called es/mx/maria which
> has all this subdirectories:
> For each of these subdirectories I made this:
> cd "one of the directories inside sounds/es/mx/maria "
> mkdir 8000
> mkdir 16000
> mkdir 16000
> cd 44100
> for a in *.wav;
> /usr/bin/ffmpeg -i "$a" -ar 8000 -ac 1 -ab 128 "../8000/"$a;
> /usr/bin/ffmpeg -i "$a" -ar 16000 "../16000/"$a;
> /usr/bin/ffmpeg -i "$a" -ar 32000 "../32000/"$a;
> Now I have a complete set of spanish sounds for the 8000, 16000, 32000 y
> 44100 frecuencies
> ¿What would I need to configure in freeswitch to use these spanish sounds
> instead of the english ones?
> Thanks in advance for your kind help.
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users