CDR MySql registration issue


#1

== Unregistered ‘mysql’ CDR backend

I’ve got the MySql.cmd to work reading from a database but cant get the CDR to write to work. At wits end. Any good ideas?

when I reload I get the following: (apologies for the text dump)

-snip-

== Parsing ‘/etc/asterisk/musiconhold.conf’: Found
– Reloading module ‘cdr_addon_mysql.so’ (MySQL CDR Backend)
== Unregistered ‘mysql’ CDR backend
== Parsing ‘/etc/asterisk/cdr_mysql.conf’: Found
– Reloading module ‘res_features.so’ (Call Parking Resource)

-snip-

– Added extension ‘s’ priority 20 to start
– Reloading module ‘cdr_manager.so’ (Asterisk Call Manager CDR Backend)
== Parsing ‘/etc/asterisk/cdr_manager.conf’: Found
– Reloading module ‘codec_adpcm.so’ (Adaptive Differential PCM Coder/Decoder)

-snip-

– codec_ulaw: using generic PLC
– Reloading module ‘cdr_custom.so’ (Customizable Comma Separated Values CDR
Backend)
== Parsing ‘/etc/asterisk/cdr_custom.conf’: Found
– Reloading module ‘codec_alaw.so’ (A-law Coder/Decoder)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_alaw: using generic PLC
– Reloading module ‘cdr_csv.so’ (Comma Separated Values CDR Backend)
– Reloading module ‘app_enumlookup.so’ (ENUM Lookup)


cdr_mysql.conf
hostname=127.0.0.1
dbname=asteriskcdrdb
password=blah
user=toot

modules.conf
load => cdr_addon_mysql.so

on CentOS 4.0 / latest CVS HEAD

Rafal K


#2

from [Asterisk-cvs] asterisk cdr.c,1.11,1.12
citats@lists.digium.com
Wed, 21 Apr 2004 00:21:17 -0500 (CDT)

Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/home/citats/cvs/asterisk

Modified Files:
cdr.c
Log Message:
Log that we are unregistering cdr module (bug 1460)

does this mean that cdr is not working in this version? anyone know what is a stable CVS-HEAD that cdr works?

Any helpful replies earn karma points
(you must of been a newbie once)
:wink: