Book Image

FreeSWITCH Cookbook

Book Image

FreeSWITCH Cookbook

Overview of this book

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.
Table of Contents (12 chapters)
FreeSWITCH Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring Google Voice


Google Voice (also known as Google Talk) is accessed via the mod_dingaling module, which provides XMPP support. (If you would like to learn more about XMPP, visit http://xmpp.org.) Mod_dingaling can act as both a XMPP server and a XMPP client, though it is generally used for its client abilities. With Google Voice, XMPP simply serves to establish sessions (much like SIP) and the audio properties and stream are otherwise merely RTP, just as in any VoIP call, using codecs you already know, like PCMU, GSM, and so on.

When using Google Voice with FreeSWITCH, your FreeSWITCH system initiates connections to or from Google Voice and can convert the audio and signaling into any other form—including SIP. This allows calls from Google Voice to your SIP phone and vice versa.

Getting ready

To get started, you're going to need your Google Voice user credentials. The process after that is straightforward.

How to do it...

You will need to modify the jingle profile's client file, which...