Free Sample
+ Collection

FreeSWITCH Cookbook

Anthony Minessale, Michael S Collins, Darren Schreiber, Raymond Chandler

Written by members of the FreeSWITCH team, this is the ultimate guide to getting the most out of the platform. Stuffed with over 40 recipes, just about every angle is covered, from call routing to enabling text-to-speech conversion.
RRP $17.99
RRP $29.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849515405
Paperback150 pages

About This Book

  • Get powerful FreeSWITCH features to work for you
  • Route calls and handle call detailing records
  • Written by members of the FreeSWITCH development team

Who This Book Is For

If you are a system administrator, hobbyist, or someone who uses FreeSWITCH on a regular basis, this book is for you. Whether you are a FreeSWITCH expert or just getting started, this book will take your skills to the next level.

Table of Contents

Chapter 1: Routing Calls
Internal calls
Incoming DID calls
Outgoing calls
Ringing multiple endpoints simultaneously
Ringing multiple endpoints sequentially (simple failover)
Advanced multiple endpoint calling with enterprise originate
Time of day routing
Manipulating To: headers on registered endpoints to reflect DID numbers
Chapter 2: Connecting Telephones and Service Providers
Configuring a SIP phone to register with FreeSWITCH
Connecting audio devices with PortAudio
Using FreeSWITCH as a softphone
Configuring a SIP gateway
Configuring Google Voice
Codec configuration
Chapter 3: Processing Call Detail Records
Using CSV CDRs
Using XML CDRs
Inserting CDRs into a backend database
Using a web server to handle XML CDRs
Using the event socket to handle CDRs
Chapter 4: External Control
Getting familiar with the fs_cli interface
Setting up the event socket library
Establishing an inbound event socket connection
Establishing an outbound event socket connection
Using fs_ivrd to manage outbound connections
Filtering events
Launching a call with an inbound event socket connection
Using the ESL connection object for call control
Using the built-in web interface
Chapter 5: PBX Functionality
Creating users
Accessing voicemail
Company directory
Using phrase macros to build sound prompts
Creating XML IVR menus
Music on hold
Creating conferences
Sending faxes
Receiving faxes
Basic text-to-speech with mod_flite
Advanced text-to-speech with mod_tts_commandline
Listening to live calls with telecast
Recording calls

What You Will Learn

  • Configure users and phones as well as connections to VoIP providers and even Google Voice
  • Control FreeSWITCH remotely with the powerful event socket interface
  • Route inbound and outbound calls
  • Handle call detail records, which includes inserting CDRs into a database
  • Enable text-to-speech conversion in your voice applications
  • Monitor calls via the FreeSWITCH Web interface

In Detail

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.


Read More