-
Book Overview & Buying
-
Table Of Contents
FreeSWITCH Cookbook
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.
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.
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 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 the Local_Extension...
Change the font size
Change margin width
Change background colour