更新时间:2021-08-20 16:56:13
封面
版权信息
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Architecture of FreeSWITCH
A revolution has begun and secrets have been revealed
The FreeSWITCH design – modular scalable and stable
Important modules – Endpoint and Dialplan
Complex applications made simple
Summary
Chapter 2. Building and Installation
Setting up the FreeSWITCH environment
Operating system prerequisites
Text editors and XML
Downloading the source
Building from the latest code
Compiling FreeSWITCH for Linux/Unix/Mac OS X
Compiling FreeSWITCH for Windows
Starting FreeSWITCH
Running FreeSWITCH in the background
Chapter 3. Test Driving the Example Configuration
Important concepts to understand
Putting FreeSWITCH to work
Configuring a SIP phone to work with FreeSWITCH
Testing the example Dialplan
Chapter 4. SIP and the User Directory
Understanding the FreeSWITCH user directory
Working with the FreeSWITCH user directory
User features
Adding a user
Testing voicemail
Groups of users
Connecting to the world with gateways
SIP profiles and user agents
Chapter 5. Understanding the XML Dialplan
FreeSWITCH XML Dialplan elements
Contexts
Extensions
Call legs and channel variables
Accessing channel variables
Regular expressions
Actions and anti-actions
How Dialplan processing works
Creating a new extension
Important Dialplan applications
Dialstring formats
Chapter 6. Using XML IVRs and Phrase Macros
IVR engine overview
IVR XML configuration file
Using phrases with IVRs
Advanced routing
Chapter 7. Dialplan Scripting with Lua
Getting started with Lua
Basic Lua syntax
Building voice applications
Advanced IVR concepts
Scripting tips
Chapter 8. Advanced Dialplan Concepts
Dialplan overview
General Diaplan concepts
Putting it all together
XML Dialplan module review
Pitfalls to avoid
XML Dialplan applications
Utilizing variables
Global variables
Dialplan functions
Set export and legs
Passing variables via call headers
XML Dialplan cookbook
Chapter 9. Moving Beyond the Static XML Configuration
The mod_xml_curl basics
The mod_xml_curl Dialplan
The mod_xml_curl folder
The mod_xml_curl configuration
The mod_xml_curl summary
Generating configurations dynamically with language bindings
Making calls from the command line interface
Using ESL to execute commands
Chapter 10. Controlling FreeSWITCH Externally
General overview
Event system architecture
Event-based modules
Sending events
Events from the Dialplan
FreeSWITCH event system commands
FreeSWITCH Console application
Event Socket Library