Well, be sure to build mod_say_es. From your FS source tree:<div><br></div><div>make mod_say_es-install</div><div><br></div><div>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/*</div>
<div><br></div><div>After that go into conf/lang/es and rename en.xml to es.xml. Open that file and look for this line:</div><div><div><language name="en" say-module="en" sound-prefix="$${sounds_dir}/en/us/callie" tts-engine="cepstral" tts-voice="callie"></div>
</div><div><br></div><div>Change it to:</div><div><div><language name="es" say-module="es" sound-prefix="$${sounds_dir}/es/mx/maria" tts-engine="cepstral" tts-voice="callie"></div>
</div><div><br></div><div>Be sure to put your maria sounds in the proper directory structure, just like the sounds/en/us/callie files are.</div><div><br></div><div>You will also need to add a line to freeswitch.xml like the other langs:</div>
<div><X-PRE-PROCESS cmd="include" data="lang/es/*.xml"/></div><div><br></div><div>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! :)</div>
<div><br></div><div>Also, you may want to set the default language on calls that you know are Spanish. Check out this wiki page for assistance. (<a href="http://wiki.freeswitch.org/wiki/Channel_Variables#default_language">http://wiki.freeswitch.org/wiki/Channel_Variables#default_language</a>)</div>
<div><br></div><div>-MC</div><div><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 1:32 PM, Francisco Javier Cintrón Olguín <span dir="ltr"><<a href="mailto:fcintrono@gmail.com">fcintrono@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I downloaded this file which is a set of spanish sounds for freeswitch: </div><div><br></div><div><a href="http://files.freeswitch.org/freeswitch-sounds-es-mx-maria-44100.tar.gz" target="_blank">http://files.freeswitch.org/freeswitch-sounds-es-mx-maria-44100.tar.gz</a></div>
<div><br></div><div>As you see It only has sounds for the 44100 frecuency. </div><div>To generate files for the 8000, 16000 and 32000 frecuencies, I untarred the file inside freeswitch/sounds directory. </div><div><br></div>
<div>After I untarred the file, there was a directory called es/mx/maria which has all this subdirectories: </div><div><br></div><div>ascii</div><div>currency</div><div>ivr</div><div>phonetic-ascii</div><div>voicemail</div>
<div>
<div>conference</div><div>digits</div><div>misc</div><div>time</div><div>zrtp</div></div><div><br></div><div>For each of these subdirectories I made this:</div><div><br></div><div>cd "one of the directories inside sounds/es/mx/maria "</div>
<div>mkdir 8000</div><div>mkdir 16000</div><div>
mkdir 16000</div><div><br></div><div>cd 44100</div><div><div>for a in *.wav;</div><div>do</div><div> /usr/bin/ffmpeg -i "$a" -ar 8000 -ac 1 -ab 128 "../8000/"$a;</div><div> /usr/bin/ffmpeg -i "$a" -ar 16000 "../16000/"$a;</div>
<div> /usr/bin/ffmpeg -i "$a" -ar 32000 "../32000/"$a;</div><div>done</div></div><div><div><br></div></div><div>Now I have a complete set of spanish sounds for the 8000, 16000, 32000 y 44100 frecuencies</div>
<div><br></div><div>¿What would I need to configure in freeswitch to use these spanish sounds instead of the english ones?</div><div><br></div><div>Thanks in advance for your kind help. </div><div><br></div><div><br></div>
<div><br></div>
<br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>