This Xposed module was originally developed by cinhoo but it stopped working since Marshmallow. I only use the source code and added support for Marshmallow and later Xperia firmware.
Installation instructions:
- Install the module
- Run Xposed Installer and enable the module XRecorder (for Xperia Marshmallow and higher)
- Flash the XZ3_CallRecording_signed.zip in recovery
- Reboot the phone