On Wed, 2005-07-27 at 09:44 +0200, 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?
> 
> I can import the csv-file to the db. so i assume the db is setup correct.
> 
> Is there any chance to get debug from cdr_mysql to find his problem?
> 
> This is my cdr_mysql.conf file:
> [global]
> hostname=localhost
> dbname=cdr
> password=passw0rd
> user=root
> ;port=3306
> ;sock=/tmp/mysql.sock
> userfield=1
> 
> Thanks and Regards
> 
        I do not know if this has changed but I remember that when I first
installed the mysql cdr addon the database had to be named
"asteriskcdrdb" and the table where everything is written is "cdr".

        Apart from that make sure that the module is loaded when you start
Asterisk.  Here is my cdr_mysql.conf:

[global]
hostname=localhost
dbname=asteriskcdrdb
table=cdr
password=dbpassword
user=dbuser
;port=3306
sock=/var/lib/mysql/mysql.sock
userfield=1

        I can see you are missing the "table=" from your config.


-- 
Telecomunicaciones Abiertas de Mexico
Carlos Chavez
Director de Tecnologia
+52-55-91169161 Ext. 2001

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to