This morning I followed all your directions.
Well, be sure to build mod_say_es. From your FS source tree:make mod_say_es-install
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" sound-prefix="$${sounds_dir}/en/us/callie" tts-engine="cepstral" tts-voice="callie">Change it to:<language name="es" say-module="es" sound-prefix="$${sounds_dir}/es/mx/maria" tts-engine="cepstral" tts-voice="callie">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. (http://wiki.freeswitch.org/wiki/Channel_Variables#default_language)-MCOn Tue, Oct 18, 2011 at 1:32 PM, Francisco Javier Cintrón Olguín <fcintrono@gmail.com> wrote:
FreeSWITCH-users mailing listI 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:asciicurrencyivrphonetic-asciivoicemailconferencedigitsmisctimezrtpFor each of these subdirectories I made this:cd "one of the directories inside sounds/es/mx/maria "mkdir 8000mkdir 16000mkdir 16000cd 44100for a in *.wav;do/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;doneNow 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@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