No CDR on Call Detail Records menu after reboot

maurizio261

Member
May 7, 2020
33
1
8
40
Hi everybody,
i've rebooted an instance and after this the page of Call Detail Records it's blank. I've checked the modules and restart (and reboot) everything but nothing changed. I see that it has 8 pages at the end, but every page it's empty, how can i bring back this feature?

Thank you in advance
 

markjcrane

Active Member
Staff member
Jul 22, 2018
543
189
43
50
We aren't counting the call detail records so its just showing you 8 pages and this is configurable from default settings category cdr. If you updated make sure to run upgrade -> schema. You can also check to see if you have any cdr files in /var/log/freeswitch/xml_cdr directory.
 

maurizio261

Member
May 7, 2020
33
1
8
40
Hi markjcrane and thanks for your reply, i've check the log files has you said and i see the logs are ok but the csv are empty, what i've to searching in there? i don't have done any upgrade to FusionPBX, only an apt upgrade and a reboot.I've to do the upgrade -> schema?how can i bring back the cdr working?
 

markjcrane

Active Member
Staff member
Jul 22, 2018
543
189
43
50
If you looked at what I shared it is not using HTTP. The HTTP POST is not ideal. FreeSWITCH has not perfected their escaping values perfectly so some call details records vanish because of improperly escaped values. For this reason, FusionPBX no longer relies on the HTTP POST.

The other approach saves the call detail record to the file system. This is good because it works. It doesn't have the escaping problem. After you change the value make sure to run
fs_cli -x 'reloadxml'
fs_cli -x 'reload mod_xml_cdr'

New installs are using the file system for importing CDR records and not using HTTP POST.

So you want to mod_xml_cdr save direct to the file system for your call detail records. Here are the instructions again.
https://www.pbxforums.com/threads/crd-logs-and-recordings-not-showing-in-portal.8078/#post-32553

For this to work FreeSWITCH has to save the files at the end of the call to /var/log/freeswitch/xml_cdr directory. If this doesn't happen then you may have a directory permission issue.
 

maurizio261

Member
May 7, 2020
33
1
8
40
Hi Mark, i've followed your instructions has i've said, and i've double checked everything with a newer installation and seems to be the same permission and scripts, however it doesn't work in the old one. Did you believe that an upgrade could help to solve it? Or any other ideas...
Thank you so much for your help
 

pbxgeek

Active Member
Jan 19, 2021
209
72
28
38
@maurizio261 Since you are on 5.1, you can simply install the FS PBX dashboard on top of your system and enjoy the new CDR page with no bugs. Also, we fixed many false call statuses and errors with CDR upload. And you will have one line per each call with ability to open call detalis and see the entirte timeline.

1738090548263.png

1738090646045.png