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 calls and Outgoing calls both in Chapter 1.
Note
Most countries and localities have laws relating to the 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 FreeSWITCH dialplan application record_session
is used for recording calls, whether they are inbound or outbound. (Call direction does not affect the record_session
application.)
For inbound calls it is easiest to enable recording right on the Local_Extension
. Follow the steps:
Open
conf/dialplan/default.xml
and locate theLocal_Extension...