SOLVED No CDR on Call Detail Records

ksargeant

New Member
Nov 1, 2024
22
3
3
26
Hi Guys,

I have just read every other post pertaining to the CDR records.

I have:

  • Commented out:
Code:
<!-- <param name="url" value="http://127.0.0.1/app/xml_cdr/xml_cdr_import.php"/>-->
  • Confirmed that xml_cdr is present:
Code:
cp /var/www/fusionpbx/app/xml_cdr/resources/service/debian.service /etc/systemd/system/xml_cdr.service

systemctl enable xml_cdr

systemctl start xml_cdr

systemctl daemon-reload
  • Reloaded
Code:
fs_cli -x 'reload mod_xml_cdr'

  • Confirmed there are cdr records
Code:
root@FusionPBX:~# cd /var/log/freeswitch/xml_cdr

ls -lh

You have new mail in /var/mail/root

total 776K

-rwxr-xr-x 1 www-data www-data 18K Mar 22 19:45 a_06f1af4e-2d07-43e8-9d75-5d2ae4355b34.cdr.xml

-rwxr-xr-x 1 www-data www-data 29K Mar 22 20:20 a_07ceaf80-b5dd-4471-b454-12870d2fb794.cdr.xm
l
  • Confirmed cron is active and working:
Code:
2025-03-22T21:29:01.685257+00:00 FusionPBX CRON[581]: (root) CMD (/bin/php /var/www/fusionpbx/app/xml_cdr/xml_cdr_import.php 300)

2025-03-22T21:30:01.768667+00:00 FusionPBX CRON[611]: (root) CMD (/bin/php /var/www/fusionpbx/app/xml_cdr/xml_cdr_import.php 300)

2025-03-22T21:31:01.846127+00:00 FusionPBX CRON[636]: (root) CMD (/bin/php /var/www/fusionpbx/app/xml_cdr/xml_cdr_import.php 300)
  • Make a test call
1742679120191.png

Am I doing something wrong here?
 
After a very insightful call with Mark the issue has been resolved and we have deemed this to be a Proxmox specific issue. The parent issue is found here: https://www.pbxforums.com/threads/fresh-install-proxmox-freeswitch-service-failed.8344/

As a result of the above fail, it stops Freeswitch from updating all of the directories in Advanced > Default Settings > Switch

The fix:

Got to Advanced > Default Settings > Switch

Select all in the Switch Category > Delete

Head to Advanced > Upgrade > App Defaults > Execute

---

Wallah - Your CDR records will be showing in the GUI.
 
  • Like
Reactions: DigitalDaz