[Asterisk-Users] cdr_mysql does not write to mysql db

Matthew Boehm mboehm at cytelcom.com
Wed Jul 27 06:56:40 MST 2005


Kib Eki wrote:
> Hi,
> 
> I configured cdr_mysql (addons 1.0.9) to write the cdr records to the 
> mysql db.
> 
> The problem is that no records are written to the db. Why?

Do you have the module installed?

Is the module loaded?

What happens when you type "cdr mysql status" on asterisk command line?
  You should see something like this:

cytrex*CLI> cdr mysql status
Connected to asterisk at localhost, port 3306 using table cdr for 7 hours, 
41 minutes, 21 seconds.
   Wrote 70 records since last restart.

If you get "no such command" then that means the module isn't loaded.

If you are using "localhost" then you need to uncomment the sock and 
make sure it's path is correct.

Don't listen to those other guys. The first two were both wrong.

-Matthew




More information about the asterisk-users mailing list