The call recording of SIP lines requires a port mirroring setup, which allows the monitoring of network packets. The port mirroring allows the SIP traffic going through one port on your managed switch to be copied to another port, for packet analysis.
The image below illustrates the general configuration involved in port mirroring, which enables SIP call recording.