Exporting call records with phone call recordings from Mega Call Recorder Advanced app
The application keeps a copy of the database with calls logs in the folder where the call recordings are stored (/sdcard/CallRecorder/.db/callRecorder).
Prerequisites:

Python3 installed
ADB
USB debugging enabled on the phone

Steps:

Dump the folder /sdcard/CallRecorder using ADB from the

 adb pull /sdcard/CallRecorder


Create a new Python file, &quot;export.py&quot;, in the dumped folder, &quot;callRecorder&quot;, with the following content:

import sqlite3
import os
from shutil import copyfile

con = sqlite3.connect(&quot;.db/callRecorder&quot;)

for filename in os.listdir(&quot;.&quot;):
   if &quot;.mp3&quot; not in filename:
      continue
   
   row = con.execute(&quot;Select * from calls where instr(filePath, &quot;+ filename.replace('.mp3', '') +&quot;)&quot;).fetchone()
   phone_nbr = row[1]
   contact_name = row[2]
   date_time = filename.replace(&quot;.mp3&quot;, &quot;&quot;)
   copyfile(filename, f&quot;{phone_nbr}_{contact_name}_{date_time}.mp3&quot;)

Execute the Python file using Notepad++ Python interpreter or using CMD:
&gt; python PATH\TO\callRecord\export.py

That will copy each record to the format &quot;phoneNumber_contactName_datetime.mp3&quot;