CDR - I am stuck on this for a week now

Hello ,

I am running Asterisk NOW. I cant get CDR to work , it allways show
no record data on the admin panel.

I have tried many many things , I got the CSV file to be filled with data
but cant generate reports.

I am trying to get the mysql module installed using the addons but it just seems to be missing source files.

I read all the posts for this subject and they all say that i need to install the addons, however i cant find some of the headers it is looking for and this is why i cant install the addons.

I think i dont understand the concept of the CDR and i think i am missing some information about the relationship between , AsteriskNOW ! , freepbx and asterisk.

I am already week working on that without any success.
can someone tell me if there is a guide for step by step ebabling CDR ?

BTW when i status the CDR it tells me everything ok , but on the admin pannel it say NO DATA …

One reason this didn’t work in your initial install where the database was mysql instead of csv is that Asterisk Now doesn’t install the above. It also does NOT install all of the asterisk addons.

At a command line:

yum install php-mysql

cd /usr/src

wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.4.11.tar.gz

tar zxvf asterisk-addons-1.4.11.tar.gz

cd asterisk-addons-1.4.11

./configure
make
make install

chmod 775 /var/spool/asterisk/monitor

And finally, Apache runs under the apache ID in NOW instead of the asterisk ID so you need to change the owner of the PHP “session” folder to apache:

chown -R apache:apache /var/lib/php/session

That fixed recordings and reports for me.

Last step reboot

reboot

There were some problems with this…

  1. The addons ( thanks for the answer)
  2. permissions.
  3. DB table and passwords.