Below is an example of a network layout for an installation that would allow recording of external calls across SIP trunks.
Monitoring SIP trunks allows any phone system or handsets to be recorded. This includes proprietary handsets which would normally be expensive when recording extension-side.
The managed switch needs to be configured to mirror the port where the telephone system would be sending the SIP/RTP call information.