# CDR MySql registration issue

**URL:** <https://community.asterisk.org/t/cdr-mysql-registration-issue/273>\
**Category:** Asterisk Support\
**Created:** [May 11, 2005, 8:01am UTC](https://community.asterisk.org/t/cdr-mysql-registration-issue/273 "2005-05-11T08:01:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrrafs](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mrrafs](https://community.asterisk.org/u/mrrafs)\
**Post date:** [May 11, 2005, 8:01am UTC](https://community.asterisk.org/t/cdr-mysql-registration-issue/273/1 "2005-05-11T08:01:17Z")

</div>

== 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

---

<div class="post-metadata">

**Author:** ![mrrafs](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mrrafs](https://community.asterisk.org/u/mrrafs)\
**Post date:** [May 11, 2005, 3:17pm UTC](https://community.asterisk.org/t/cdr-mysql-registration-issue/273/2 "2005-05-11T15:17:24Z")

</div>

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

Update of /usr/cvsroot/asterisk  
In directory [mongoose.digium.com](http://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)  
😉
