Book Image

FreeSWITCH Cookbook

By : Raymond Chandler, Darren Schreiber, Anthony Minessale II, Michael Collins
Book Image

FreeSWITCH Cookbook

By: Raymond Chandler, Darren Schreiber, Anthony Minessale II, Michael Collins

Overview of this book

FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice, chat, and video applications. It can scale from a soft-phone to a PBX and even up to an enterprise-class softswitch.In the FreeSWITCH Cookbook, members of the FreeSWITCH development team share some of their hard-earned knowledge with you in the book's recipes. Use this knowledge to improve and expand your FreeSWITCH installations.The FreeSWITCH Cookbook is an essential addition to any VoIP administrator's library.The book starts with recipes on how to handle call routing and then discusses connecting your FreeSWITCH server to the outside world.It then teaches you more advanced topics like CDR handling, practical examples of controlling FreeSWITCH with the event socket, and configuring many features commonly associated with a PBX installation.
Table of Contents (12 chapters)
FreeSWITCH 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 you need. Keep in mind that on Windows the mod_flite module is pre-built but it is not automatically loaded. On Linux/Unix systems you will need to perform a few steps listed below.

How to do it...

If you are in 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 # at the beginning of the line.

  2. Save and exit. 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/modules.conf...