O'Reilly logo

FreeSWITCH 1.6 Cookbook by Giovanni Maruzzelli, Michael S Collins, Anthony Minessale II

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required