Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing mod_flite

In modules.conf:

  • uncomment Uncomment asr_tts/mod_flite; 
Note

Edit the modules.conf at the top level of your src directory and NOT to be confused with the freeswitch/conf/modules.conf.xml file which you will also have to edit later - see below). This installation has been written assuming that you are going to be compiling this module.

...

In freeswitch/conf/autoload_configs/modules.conf.xml:

  • uncomment Uncomment <load module="mod_flite"/>
  • Comment out <load module="mod_cepstral"/>

Using mod_flite

Code Block
languagexml
    <extension name="flite">
      <condition field="destination_number" expression="^9886$">
        <action application="set" data="tts_engine=flite"/>
        <action application="set" data="tts_voice=kal"/>
        <action application="speak" data="This is flite on FreeSWITCH"/>
      </condition>
    </extension>

...