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.
Note
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.
Recording calls is actually very simple. All you need is a text editor so that you can add a few lines to your dialplan.
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:
Open
conf/dialplan/default.xml
and...