Call Detail Reports (CDR) / Call Logs not working with AsteriskNOW 1.7

You've just installed AsteriskNOW 1.7 and the Call Detail Reports (CDR) / Call Logs aren't working. Apparently, due to licensing issues, certain components of Asterisk that are needed to operate the CDR do not come with AsteriskNOW. Don't despair, however, because you can easily install them.

First of all, open up a shell on your AsteriskNOW server. Either get in front of your server or use the JAVA SSH module included with FreePBX.

Enter the following command:

yum update asterisk16

This will update Asterisk 1.6 to the latest version. Click "Y" and ENTER when prompted "Is this okay?"

Important: DON'T SKIP THE UPDATE. The Add-ons you install (below) don't work with the version that came with AsteriskNOW 1.7.

Next, enter the following:

yum install asterisk16-addons

This will install certain "addons" that are needed to run CDR. Click "Y" and ENTER when prompted "Is this okay?"

Now you need to restart Asterisk so the new modules will be loaded.

WARNING: This will end all calls currently in progress.
Type this in the shell:

amportal stop

If you see an error message, ignore it. When the command prompt returns, start Asterisk again:

amportal start

Make a call and see that the CDR is populated with data.

Note: If you are using Asterisk 1.4, use the same procedure, but substitute "14" in place of "16" in the commands entered above. Also, if you're using Asterisk 1.4, you can skip the yum update asterisk14, and just go straight to the yum update asterisk14-addons.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

CDR not working in AsteriskNow by default configuration

padapa's picture

While its lame that CDR is not working when installing AsteriskNow, I am making this post to improve the search of the forums. A search for CDR not working didn't reveal this post. Hopefully it will now.

Padapa


CDR is not working

t_nall's picture

If you put the above phrase in double quotes as "CDR is not working" in the FreePBX search engine input, this is the first article to pop up. If we had only known....


Didn't work for me

rwebb616's picture

Hi I tried this and it didn't work.

I am on asterisknow 1.7 and it's a pretty much out of the box install. When I look at the modules like sql it shows 0 modules loaded... cdr show status show's me that cdr is enabled, but there is no registered backend (none).

Don't know how to get it to connect to SQL.

-Rich


Update asterisk. yum install

Shaggy's picture

Update asterisk.

yum install asterisk16.x86_64 then /etc/init.d/asterisk restart


Hi! Thanks for the

leiste's picture

Hi!
Thanks for the howto!
Could anyone add the update advice from Shaggy directly to the Howto?
Without update, nothing works! With update - everythnig is fine!

Leiste


This worked great for me.

ckmoose's picture

This worked great for me. Thank you for the post.

I had to remove the 16 in "yum update asterisk16" to only have "yum update asterisk".
As well the same in "yum install asterisk16-addons" to only have "yum install asterisk-addons".

I am running Asterisk 1.6.2.20