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

Using the built-in web interface

FreeSWITCH comes with a built-in web interface. It is made available by mod_xml_rpc, which is not loaded by default and therefore sometimes goes unnoticed.

Getting ready

You will need to make sure that mod_xml_rpc is built and loaded before trying to connect to the web interface. The mod_xml_rpc module is already compiled when using the Visual Studio 2008/2010 solution files with the FreeSWITCH source code. Linux and Mac OS X users will need to enable mod_xml_rpc in your FreeSWITCH installation. Follow these steps:

  1. Open modules.conf in the FreeSWITCH source directory and remove the comment on the #xml_int/mod_xml_rpc line. Save the file and exit

  2. Compile mod_xml_rpc with this command:

    make mod_xml_rpc-install
  3. If you want to have mod_xml_rpc load automatically each time you start FreeSWITCH then edit conf/autoload_configs/modules.conf.xml and uncomment this line:

    <!-- <load module=" mod_xml_rpc "/> -->

    Save the file and exit.

  4. If you do not load mod_xml_rpc...