CDR not logging calls w/ Asterisk 1.8 Freepbx 2.9

Installed via Asterisknow 1.7 ISO (32bit), then upgraded asterisk to 1.8, and freepbx to 2.9.

When I try to view the CDR reporting, I get:

  • Call Logs -
    No data found !!!

Yesterday I was troubleshooting this, and after researching the forums I tried the various issues relating to not having addons installed. I eventually got addons installed but it broke voicemail (callers would not get a beep and could not leave a message). So I updated all things asterisk18 and after a reboot voicemail returned to normal, but now my CDR stopped working again.

[[email protected] cdr-csv]# yum list asterisk*
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile

  • base: mirrors.xmission.com
  • extras: mirrors.usc.edu
  • updates: centos.mirror.facebook.net
    Installed Packages
    asterisk.i386 1.8.9.0-1_centos5 installed
    asterisk-addons.i386 1.8.9.0-1_centos5 installed
    asterisk-core.i386 1.8.9.0-1_centos5 installed
    asterisk-dahdi.i386 1.8.9.0-1_centos5 installed
    asterisk-doc.i386 1.8.9.0-1_centos5 installed
    asterisk-sounds-core-en-gsm.noarch 1.4.21-1_centos5 installed
    asterisk-sounds-core-en-ulaw.noarch 1.4.21-1_centos5 installed
    asterisk-sounds-extra-en-gsm.noarch 1.4.11-1_centos5 installed
    asterisk-sounds-moh-opsound-ulaw.noarch 0.0-4_centos5 installed
    asterisk-voicemail.i386 1.8.9.0-1_centos5 installed
    asterisk18-addons.i386 1.8.7.0-2_centos5 installed
    asterisk18-addons-bluetooth.i386 1.8.7.0-2_centos5 installed
    asterisk18-addons-core.i386 1.8.7.0-2_centos5 installed
    asterisk18-addons-mysql.i386 1.8.7.0-2_centos5 installed
    asterisk18-addons-ooh323.i386 1.8.7.0-2_centos5 installed
    asterisknow-version.noarch 1.7.1-3_centos5 installed

cdr show status gives me this:

Call Detail Record (CDR) settings

Logging: Enabled
Mode: Simple
Log unanswered calls: No

  • Registered Backends

    cdr-custom

    – Remote UNIX connection
    – Remote UNIX connection disconnected

It seems to be some kind of version issue but I can’t figure it out.

/var/log/asterisk/full:
WARNING[3445] loader.c: Module ‘app_mysql.so’ was not compiled with the same compile-time options as this version of Asterisk.

Do I need to compile asterisk manually? Why do I have asterisk + asterisk18 installed? Is that normal?

Digium does not do a great job of keeping the AsteriskNow repo maintained. That is why we do not recommend that distro.

Somehome you have the old Asterisk-Addons installed on top of Asterisk 1.8. The new 1.8 packages include the add-ons.

Thanks! For the record, here’s how I fixed it:
yum remove asterisk18-addons
repeat for all of these modules:
asterisk18-addons.i386 1.8.7.0-2_centos5 installed
asterisk18-addons-bluetooth.i386 1.8.7.0-2_centos5 installed
asterisk18-addons-core.i386 1.8.7.0-2_centos5 installed
asterisk18-addons-mysql.i386 1.8.7.0-2_centos5 installed
asterisk18-addons-ooh323.i386 1.8.7.0-2_centos5 installed

yum install asterisk-addons

I did an amportal restart before and after the yum install command.

You might consider ditching the Asterisk Now and moving to the FreePBX distro. There is no reason to install the Digium distro and then try to upgrade to the latest FreePBX. The FreePBX distro is much easier to install and maintain.

the solution from tadpole, to remove the 5 packages (asterisk18-addons.*) and reinstall worked perfectly! Thank you!

Nobody is named “tadpole”, that is their status on the board.

You should consider Allan’s suggestion and update your system. The AsteriskNow does not include the latest FreePBX and large improvements have been made since the version you are running.