FreeSWITCH Cookbook
eBook - ePub

FreeSWITCH Cookbook

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

Share book
  1. 150 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

FreeSWITCH Cookbook

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

Book details
Book preview
Table of contents
Citations

About This Book

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.

Approach

This is a problem-solution approach to take your FreeSWITCH skills to the next level, where everything is explained in a practical way.

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is FreeSWITCH Cookbook an online PDF/ePUB?
Yes, you can access FreeSWITCH Cookbook by Anthony Minessale, Michael S Collins, Darren Schreiber, Raymond Chandler in PDF and/or ePUB format, as well as other popular books in Informatica & Informatica generale. We have over one million books available in our catalogue for you to explore.

Information

Year
2012
ISBN
9781849515405

FreeSWITCH Cookbook


Table of Contents

FreeSWITCH Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Routing Calls
Introduction
Regular expressions
Important dialplan contexts in the default configuration
The default context
The public context
The features context
Internal calls
Getting ready
How to do it...
How it works...
See also
Incoming DID calls
Getting ready
How to do it...
How it works...
There's more...
See also
Outgoing calls
Getting ready
How to do it...
How it works...
There's more...
See also
Ringing multiple endpoints simultaneously
Getting ready
How to do it...
How it works...
There's more...
See also
Ringing multiple endpoints sequentially (simple failover)
Getting ready
How to do it...
How it works...
There's more...
Handling busy and other failure conditions
Handling no answer conditions
Using individual bridge calls
See also
Advanced multiple endpoint calling with enterprise originate
Getting ready
How to do it...
How it works...
There's more...
Setting variables
Ringback
See also
Time of day routing
Getting ready
How to do it...
How it works...
There's more...
See also
Manipulating To: headers on registered endpoints to reflect DID numbers
Getting ready
How to do it...
How it works...
2. Connecting Telephones and Service Providers
Introduction
Configuring a SIP phone to register with FreeSWITCH
Getting ready
How to do it...
How it works...
There's more...
Caller ID
Customizing context
See also
Connecting audio devices with PortAudio
Getting ready
How to do it...
How it works...
There's more...
See also
Using FreeSWITCH as a softphone
Getting ready
How to do it...
How it works...
There's more...
See also
Configuring a SIP gateway
Getting ready
How to do it...
How it works...
There's more...
Adding prefixes to dial strings
Monitoring gateways
Configuring Google Voice
Getting ready
How to do it...
How it works...
Codec configuration
Getting ready
How to do it...
How it works...
There's more...
Avoiding codec negotiation altogether
3. Processing Call Detail Records
Introduction
Using CSV CDRs
Getting ready
How to do it...
How it works...
There's more...
File names and locations
Other options
CDR CSV templates
See also
Using XML CDRs
Getting ready
How to do it...
How it works...
There's more...
File names and locations
Logging the B leg
See also
Inserting CDRs into a backend database
Getting ready
How to do it...
How it works...
There's more...
See also
Using a web server to handle XML CDRs
Getting ready
How to do it...
How it works...
There's more...
See also
Using the event socket to handle CDRs
Getting ready
How to do it...
How it works...
There's more...
ESL considerations
Receiving XML CDRs
See also
4. External Control
Introduction
Getting familiar with the fs_cli interface
Getting ready
How to do it...
How it works...
There's more...
Important commands for listing information
Useful command line options
Viewing events
See also
Setting up the event socket library
Getting ready
Debian
Red Hat
How to do it...
How it works...
Establishing an inbound event socket connection
Getting ready
How to do it...
How it works...
There's more...
See also
Establishing an outbound event socket connection
Getting ready
How to do it...
How it works...
There's more...
See also
Using fs_ivrd to manage outbound connections
Getting ready
How to do it...
How it works...
See also
Filtering events
Getting ready
How to do it...
How it works...
See also
Launching a call with an inbound event socket connection
Getting ready
How to do it...
How it works...
There's more...
See also
Using the ESL connection object for call control
Getting ready
How to do it...
How it works...
See also
Using the built-in web interface
Getting ready
How to do it...
How it works...
There's more...
Controlling PortAudio
The "XML RPC" In mod_xml_rpc
See also
5. PBX Functionality
Introduction
Creating users
Getting ready
How to do it...
How it works...
There's more...
Regular expressions with Regexp::Assemble
See also
Accessing voicemail
Getting ready
How to do it...
How it works...
See also
Company directory
How to do it...
How it works...
There's more...
See also
Using phrase macros to build sound prompts
Getting ready
How to do it...
How it works...
There's more...
See also
Creating XML IVR menus
Getting ready
How to do it...
How it works...
There's more...
See also
Music on hold
Getting ready
How to do it...
How it works...
There's more...
Creating conferences
Getting read...

Table of contents