[Asterisk-Users] cdr_mysql does not write to mysql db
Neal Lawson
neal.lawson at gmail.com
Wed Jul 27 07:29:21 MST 2005
using localhost in you mysql conf should work, make sure you linux
box and the loopback interface up and has a a entry in your /etc/
hosts for localhost and that your firewall (if you have one setup on
your localbox) allows traffic from 172.0.0.1 to 172.0.0.1
On Jul 27, 2005, at 6:17 AM, Dpto. Técnico. wrote:
> Try to put the IP of you CDR server instead of 'localhost', that's
> work for
> me.
>
> Regards.
> ----- Original Message -----
> From: "Kib Eki" <kibeki at gmx.net>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Wednesday, July 27, 2005 9:44 AM
> Subject: [Asterisk-Users] cdr_mysql does not write to mysql db
>
>
>
>> 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
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at 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
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
More information about the asterisk-users
mailing list