Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
FreeSWITCH 1.8

You're reading from   FreeSWITCH 1.8 Get to grips with VoIP and WebRTC communication and quickly build robust telephony systems with FreeSWITCH

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781785889134
Length 434 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Anthony Minessale II Anthony Minessale II
Author Profile Icon Anthony Minessale II
Anthony Minessale II
Giovanni Maruzzelli Giovanni Maruzzelli
Author Profile Icon Giovanni Maruzzelli
Giovanni Maruzzelli
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Architecture of FreeSWITCH FREE CHAPTER 2. Building and Installation 3. Test Driving the Example Configuration 4. User Directory, SIP, and Verto 5. WebRTC, SIP, and Verto 6. XML Dialplan 7. Phrase Macros and XML IVRs 8. Lua FreeSWITCH Scripting 9. Dialplan in Deep 10. Dialplan, Directory, and ALL via XML_CURL and Scripts 11. ESL - FreeSWITCH Controlled by Events 12. HTTAPI - FreeSWITCH Asks Webserver Next Action 13. Conferencing and WebRTC Video-Conferencing 14. Handling NAT 15. VoIP Security 16. Troubleshooting, Asking for Help, and Reporting Bugs

The FreeSWITCH design - modular, scalable, and stable

The design goal of FreeSWITCH is to provide a modular, scalable system around a stable switching core, and to provide a robust interface for developers to add to and control the system. Various elements in FreeSWITCH are independent of each other and do not have much knowledge about how the other parts are working, other than what is provided in what are called "FreeSWITCH APIs". The functionality of FreeSWITCH can be extended with loadable modules, which tie a particular functionality or an external technology into the core.

FreeSWITCH has many different module types that surround the central core, like sensors and interfaces connect a robot brain to the external environment. The list includes the following:

Module type

Purpose

Endpoint

Telephone protocols such as SIP and PSTN lines.

Application

Performs a task such as playing audio or sending data.

Automated Speech Recognition ( ASR )

Interfaces with speech recognition systems.

Chat

Bridges and exchanges various chat protocols.

Codec

Translates between audio formats.

Dialplan

Parses the call details and decides where to route the call.

Directory

Connects directory information services, such as LDAP, to a common core lookup API.

Event handlers

Allows external programs to control FreeSWITCH.

File

Provides an interface to extract and play sound from various audio file formats.

Formats

Plays audio files in various formats.

Languages

Programming language interfaces used for call control.

Loggers

Controls logging to the console, system log, or log files.

Say

Strings together audio files in various languages to provide feedback to say things such as phone numbers, time of day, spellings of words, and so on.

Text-To-Speech (TTS)

Interfaces with text-to-speech engines.

Timers

POSIX or Linux kernel timing in applications.

XML Interfaces

Uses XML for Call Detail Records (CDRs), CURL, LDAP, RPC, and so on.

 

The following diagram shows what the FreeSWITCH architecture looks like and how the modules orbit the core of FreeSWITCH:

By combining the functionalities of the various module interfaces, FreeSWITCH can be configured to connect IP phones, POTS lines, WebRTC, and IP-based telephone services. It can also translate audio formats and provides an Interactive Voice Response (IVR) system with custom menus. A FreeSWITCH server can also be controlled from another machine. Let's start by taking a closer look at a pair of important module types.

You have been reading a chapter from
FreeSWITCH 1.8
Published in: Jul 2017
Publisher: Packt
ISBN-13: 9781785889134
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime