CDR src field is not being logged


#1

I pals, I have Asterisk 1.2.4, with add-ons 1.2.2 installed. I also have installed cdr_mysql, the system is logging OK except that is not logging (via csv and mysql) the ‘src’ source field, other fields are being logged. What is wrong or what shuld I verify?

Thanks,
Geffrey


#2

Did you create the cdr table and modify your cdr_mysql.conf file to enable it, and did you add load=cdr_addon_mysql.so entry to modules.conf file?

Here is what the CDR_MYSQL.CONF file should look like:

[global]
hostname=localhost
dbname=asterisk
password=password
user=asterisk
userfield=1


#3

Hi,
All files are configured, modules.conf cdr_mysql.conf… and is logging, the only issue i s thar src field is not being logged…

Thanks
Geffrey


#4

Maybe the “src” field is not defined as varchar(80) in your cdr table.
Otherwise I don’t have a clue, especially if the field was being written correctly to the text logs prior to you installing cdr_mysql.