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.