Instead of hostname=localhost, it would be hostname=IP address of MySQL server.

On 12/12/05, Innocent Evil <[EMAIL PROTECTED]> wrote:
I was also following this thread.
Would anybody please tell, what would be configuration file if mysql is a different machine than asterisk box?
 
Thanks,
 
 
--
You don't have any choice, you already made it before you came here.


-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Mon, 12 Dec 2005 21:16:23 -0500
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] CDR MySQL

I believe you are missing 2 variables in your conf file:


table=cdr
(the table your cdrs should be stored)

sock=/var/lib/mysql/mysql.sock
(the location to your mysql.sock)

try something like this:

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

On 12/12/05, Juanjo Portela <[EMAIL PROTECTED] > wrote:
My cdr_mysql.conf is the same I was using for version.1.0.9 and it is as follow
[global]
hostname=localhost
dbname=dbasterisk
password=dbpassword
user=dbuser
userfield=1
Any ideas?
Thank you in advance,
Juanjo
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to