Search icon CANCEL
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
Mastering FreeSWITCH

You're reading from   Mastering FreeSWITCH Advanced tips and tricks for advanced multimedia communication

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781784398880
Length 300 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (8):
Arrow left icon
Darren Schreiber Darren Schreiber
Author Profile Icon Darren Schreiber
Darren Schreiber
Russell Treleaven Russell Treleaven
Author Profile Icon Russell Treleaven
Russell Treleaven
Kalyani Kulkarni Kalyani Kulkarni
Author Profile Icon Kalyani Kulkarni
Kalyani Kulkarni
Seven Du Seven Du
Author Profile Icon Seven Du
Seven Du
Charles Bujold Charles Bujold
Author Profile Icon Charles Bujold
Charles Bujold
Ken Rice Ken Rice
Author Profile Icon Ken Rice
Ken Rice
Florent Krieg Florent Krieg
Author Profile Icon Florent Krieg
Florent Krieg
Mike Jerris Mike Jerris
Author Profile Icon Mike Jerris
Mike Jerris
+4 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Typical Voice Uses for FreeSWITCH 2. Deploying FreeSWITCH FREE CHAPTER 3. ITSP and Voice Codecs Optimization 4. VoIP Security 5. Audio File and Streaming Formats, Music on Hold, Recording Calls 6. PSTN and TDM 7. WebRTC and Mod_Verto 8. Audio and Video Conferencing 9. Faxing and T38 10. Advanced IVR with Lua 11. Write Your FreeSWITCH Module in C 12. Tracing and Debugging VoIP 13. Homer, Monitoring and Troubleshooting Your Communication Platform Index

Traditional telephony codecs constrain audio


There are so many ways to compress and digitize audio to be sent through the wire. A lot of codecs are available for use with FreeSWITCH, from ultra-wide band high definition (the quality of an audio CD) to the ultra-low bandwidth utilization, and all the variables involved can be confusing.

So, let's start with a bold simplifying assumption (we'll see complexity later): You only need to be aware of two codecs — G711 (which is available in two flavors: Ulaw and Alaw, also known as PCMU and PCMA) and G729.

G711 is the original, uncompressed format used since the beginning of time by telecom companies worldwide. It was designed to carry speech so that it only gets a very narrow audio band (300-3400 Hz), and to cut out the rest (humans can hear from 20 to 20,000 Hz; that's why music on hold sounds so bad on the phone). It samples that narrow speech band 8,000 times per second (8 khz sampling) in a logarithmic way (mimicking human hearing for different...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime