Hi All,
I’ve searched the forums and found several reports of similar issues, but haven’t found a fix that works yet.
I’m running AsteriskNow 1.71, with freepbx updated to 2.8.1.4, asterisk 1.6.2.11
My CDR reports are empty, and I can’t figure out why, it says “no data”. I’ve installed asterisk-addons via yum. I checked the permissions on the /var/lib/php/session folder and they are set as asterisk owning it.
I checked mysql and the freepbx user does have all permissions on the asteriskcdrdb database. Note I have changed the default password of the freepbx user.
I updated /etc/asterisk/cdr_mysql.conf to have the new password.
I also tried changing the username and password there to root as well, it didn’t have any effect.
So, I logged into mysql as freepbx, and verified there were no rows in the cdr table under asteriskcdrdb. I manually inserted a row into the cdr table under asteriskcdrdb, and voila! I see that record now in my CDR report. However making some test calls after that, they don’t show up.
So this tells me permissions on the file system seem OK, as once the record is in mysql everything else is working. So it appears to be an issue either with credentials to login to mysql somewhere, or that process is not even getting initiated.
Anyone have any suggestions?
Is there a way I can see logs from mysql to see if there is a login attempt coming after a call?