I was able to access CDR before until I upgraded to FreePBX from 18.104.22.168, when I access it now it says “YOU MUST ACCESS THE CDR THROUGH THE ASTERISK MANAGEMENT PORTAL!”
I had the same problem but it was because I did a Yum update. The Yum update upgraded my Centos to 5.2. It changed the ownership of a key file. The FreePBX upgrade had nothing to do with the problem.
See this thread for the fix: http://aussievoip.com.au/wiki/index.php?page_id=222
That fixed it for me.
Thanks I’ve resolved it, I also need to edit cdr_mysql.conf because I changed the default asteriskuser mysql password.
Another easy fix is:
- Determine the save path:
grep save_path /etc/php.ini
should result in something like:
session.save_path = /var/lib/php/session
- Fix ownership
For the identified directory, change the ownership of that to be asterisk:
chown asterisk /var/lib/php/session