Conversion of Call History FreePBX -> MikoPBX
PT1C_cdr is the table containing the call history from the telephony panel version 1 in FreePBX.
Actions in FreePBX
Let’s navigate to the FreePBX working directory.
Download the script to convert the MySQL table to SQLite3. If it’s not available, make sure to download it.
Run the conversion script:
Actions in MikoPBX
The archive with the scripts is available via the provided link.
The file master.db, obtained in the previous step, must be transferred to MikoPBX in the directory: /storage/usbdisk1/mikopbx/freepbx-dmp.
Navigate to the MikoPBX working directory:
Prepare the list of files for uploading, specifying the date as "2020-02-07".
Uploading call recordings and converting them to MP3.
Perform a backup of the call history database.
Copy the call history database to the current directory.
Convert the call history to the MikoPBX format. The history in cdr.db will be CLEARED.
Clear the empty recordingfile fields in the database.
There are no call recordings before "2020-02-07". Let’s clear the recordingfile field.
After moving the database file.
Done! You can now check the call history in the web interface.
Last updated