Modify /etc/asterisk/modules.conf

load => cdr_mysql.so

or

load => cdr_addon_mysql.so

Then, modify your cdr_mysql.conf, like this:

[global]
hostname=localhost
dbname=astcdr
password=12jaslap3
user=amadata
sock=/var/lib/mysql/mysql.sock

Hope this helps.

Gus


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Eric Wieling" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, October 25, 2003 2:58 PM
Subject: Re: [Asterisk-Users] cdr_mysql.so


> Thanks a lot your earlier suggestion worked. The system was lacking
> zlib-devel. Now where do I insert the lines for it to load the
> cdr_mysql.so since I have it built?  Can you give me an exact example of
> what to put here?
> AJ
>
>
> On Sat, 25 Oct 2003, Eric Wieling wrote:
>
> > gzip is not zlib.  On my Mandrake 9.2 system the zlib packages are:
> >
> > zlib1-1.1.4-8mdk
> > zlib1-devel-1.1.4-8mdk
> >
> >
> > On Sat, 2003-10-25 at 12:36, [EMAIL PROTECTED] wrote:
> > > Yes I do have gzip installed on that box.  Any other ideas?
> > >
> > > On Sat, 25 Oct 2003, WipeOut wrote:
> > >
> > > > [EMAIL PROTECTED] wrote:
> > > >
> > > > >Yes I do have the mysql and mysql-devel packages installed.  With
my very
> > > > >limited knowledge of C/C++ here's what seems to be the culpret line
right
> > > > >before the error:
> > > > > "/usr/bin/ld:  cannot find -lz"
> > > > >Any suggestions here?
> > > > >AJ
> > > > >
> > > > >
> > > > >
> > > > >
> > > > I think thats gzip.. Have you got gzip installed?
> > > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to