[asterisk-dev] cdr_addon_mysql - calldate and sock

Niklas Larsson niklas at tese.se
Sun Mar 16 15:44:05 CDT 2008


Hi, 

sorry for the HTML post before, here is a proper post:

there are two changes from 1.4 to 1.6 that are a bit irritating:

1. calldate is now start and you need to add [aliases] start=calldate to make it work with the "normal" cdr db.

2. I need to specify a sock when the mysql server is on localhost, it's not enough with: hostname = localhost

My "new" conf:

[global]
hostname = localhost
dbname = asteriskcdrdb
password = amp109
user = asteriskuser
userfield=1
;port=3306
sock=/var/run/mysqld/mysqld.sock

[aliases]
start=calldate

Is there a good explanation to this changes?

/niklas



More information about the asterisk-dev mailing list