[Freeswitch-users] mod_say_es fail when tray pronounce voicemails messages dates

RrodolfoS . rrodolfos at gmail.com
Thu May 17 20:21:57 MSD 2012


mod_say_es fail when tray pronounce voicemails messages dates, in
english work well but in espanish fail.

In spanish the ivr and voicemail intro work fine, except the
voicemails messages.

The logs is the same of this http://www.freeswitch.es/node/14755

Configs details:

Version
FreeSWITCH Version 1.1.beta1 (git-4283408 2012-04-29 11-33-24 -0400)

/usr/src/freeswitch/modules.conf
 say/mod_say_es

# make mod_say_es-install

/usr/local/freeswitch/conf/freeswitch.xml
  <section name="languages" description="Language Management">
    <X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
    <X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
    <!-- <X-PRE-PROCESS cmd="include" data="lang/es/*.xml"/> -->
    <X-PRE-PROCESS cmd="include" data="lang/fr/*.xml"/>
    <X-PRE-PROCESS cmd="include" data="lang/ru/*.xml"/>
    <X-PRE-PROCESS cmd="include" data="lang/he/*.xml"/>
  </section>

/usr/local/freeswitch/conf/vars.xml
  <X-PRE-PROCESS cmd="set" data="default_language=es"/>

/usr/local/freeswitch/conf/lang/es/es.xml
<include>
  <language name="es" say-module="es"
sound-prefix="$${sounds_dir}/es/mx/maria" tts-engine="cepstral"
tts-voice="maria">
    <phrases>
      <macros>
        <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 -->
        <X-PRE-PROCESS cmd="include" data="dir/sounds.xml"/> <!--
dir/tts.xml if you want to use tts and have cepstral -->
        <X-PRE-PROCESS cmd="include" data="ivr/*.xml"/>  <!-- IVR and
custom phrases go here -->
      </macros>
      <X-PRE-PROCESS cmd="include" data="vm/voicemail_ivr.xml"/>
    </phrases>
  </language>
</include>

/usr/local/freeswitch/conf/autoload_configs/modules.conf.xml
    <!-- Say -->
    <load module="mod_say_es"/>
    <load module="mod_say_en"/>
    <!-- <load module="mod_say_ru"/> -->
    <!-- <load module="mod_say_zh"/> -->

The spanish sounds are in /usr/local/freeswitch/sounds/es/mx/maria/
with 8000, 16000, 32000, 44100 and 48000 sample rate mono.

/usr/local/freeswitch/conf/lang/es are a modified copy of
/usr/local/freeswitch/conf/lang/en



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list