Book Image

FreeSWITCH 1.6 Cookbook

By : Giovanni Maruzzelli, Anthony Minessale II
Book Image

FreeSWITCH 1.6 Cookbook

By: Giovanni Maruzzelli, Anthony Minessale II

Overview of this book

Table of Contents (14 chapters)
FreeSWITCH 1.6 Cookbook
About the Authors
About the Reviewers

Recording calls

Many enterprises need to record calls for quality control purposes. This recipe describes how you can record inbound and outbound calls on your FreeSWITCH server. If you need assistance in getting calls into and out of your FreeSWITCH system, refer to Inbound DID (also known as DDI) calls and Outgoing calls, both in Chapter 1, Routing Calls.


Most countries and localities have laws related to recording of phone calls. Always consult a licensed legal professional in your jurisdiction before you start recording phone calls.

Getting ready

Recording calls is actually very simple. All you need is a text editor so that you can add a few lines to your dialplan.

How to do it...

The record_session FreeSWITCH dialplan application is used to record calls, whether they are inbound or outbound (the call direction does not affect the record_session application).

For inbound calls, it is easiest to enable recording right on Local_Extension. Follow the steps:

  1. Open conf/dialplan/default.xml and...