Book Image

FreeSWITCH 1.6 Cookbook

By : Giovanni Maruzzelli, Anthony Minessale II
Book Image

FreeSWITCH 1.6 Cookbook

By: Giovanni Maruzzelli, Anthony Minessale II

Overview of this book

Table of Contents (14 chapters)
FreeSWITCH 1.6 Cookbook
About the Authors
About the Reviewers

Basic text-to-speech with mod_flite

Sometimes, you need a fast, simple, and free text-to-speech implementation for some quick testing. In FreeSWITCH, you can use mod_flite for simple TTS testing. While it is not suitable for professional production environments, it meets the criteria of being quick, easy, and free.

Getting ready

Other than a phone and a text editor, there is not much that you need. Keep in mind that on Windows, the mod_flite module is prebuilt, but it is not automatically loaded. On Linux/Unix systems, you will need to perform a few steps, as follows.

How to do it...

If you are using Windows, then skip to step 3. If you have Linux/Unix, then follow these steps to enable mod_flite:

  1. Open modules.conf in the FreeSWITCH source, and uncomment the line with #asr_tts/mod_flite by removing the # sign at the beginning of the line.

  2. Save and exit. Then run the install command:

    make mod_flite-install
  3. If you wish to have mod_flite load by default when FreeSWITCH starts, then open conf/autoload_configs...