Book Image

FreeSWITCH Cookbook

Book Image

FreeSWITCH Cookbook

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
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Listening to live calls with telecast


Sometimes you will wish to listen to calls in progress. It is not always easy to "catch" a specific call. FreeSWITCH includes a simple interface that let's you listen in on a call with only a browser and an MP3 player such as iTunes. This feature is called telecast.

Getting ready

Be sure to complete the steps in the Using the built-in web interface recipe in this chapter before attempting to use the telecast feature. You will also need a browser and speakers or headphones in order to listen in during a phone call.

How to do it...

Start by enabling mod_shout, which is what handles the audio stream. Windows users skip to step 3. Linux/Unix users start with these steps:

  1. Open modules.conf in the FreeSWITCH source and uncomment the line with #formats/mod_shout by removing the # at the beginning of the line.

  2. Save and exit. Build the module with this command:

    make mod_shout-install
    
  3. Set mod_shout to load by default when FreeSWITCH starts. Open conf/autoload_configs...