Book Image

Freeswitch 1.6 Cookbook

Book Image

Freeswitch 1.6 Cookbook

Overview of this book

Table of Contents (14 chapters)
FreeSWITCH 1.6 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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, goes unnoticed sometimes.

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 their FreeSWITCH installation. Follow these steps:

  1. Open modules.conf in the FreeSWITCH source directory, and remove the comment from 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 want...