MiaRec is a voip call recording solution, which is used successfully for recording calls on TalkSwitch IP PBX.
Port Mirroring function should be configured on the switch (see What is Port Mirroring?).

Connect Talkswitch IP PBX through a switch, which supports port mirroring (as shown on the network diagram).
Configure port mirroring on that switch according to following instructions:
Such configuration will allow call recording on Talkswitch.