[Asterisk-Users] CDR MySQL
tracinet
traci.asterisk at gmail.com
Tue Dec 13 06:04:56 MST 2005
Instead of hostname=localhost, it would be hostname=IP address of MySQL
server.
On 12/12/05, Innocent Evil <innocent.evil at inbox.com> 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:* traci.asterisk at gmail.com
> *Sent:* Mon, 12 Dec 2005 21:16:23 -0500
> *To:* asterisk-users at 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 <juanjo.portela at gmail.com> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051213/d5f63e29/attachment.htm
More information about the asterisk-users
mailing list