[Asterisk-Users] cdr_mysql.so
John Haigh
johntel at haighis.com
Sat Oct 25 11:05:51 MST 2003
- Create a conf file called cdr_mysql.conf in /asterisk/
[global]
hostname=localhost
dbname=asterisk
password=somepass
user=someuser
- Add load => cdr_addon_mysql.so to /asterisk/modules.conf
If you are getting errors with mysql cdr while loading asterisk, check that
you can connect to MySQL from a shell (mysql -u username -p) or from MySQL
Front by entering the login info for your asterisk db user. You may want a
MySQL client so you can view your cdr details until you get a frontend going
(astweb ??).
John Haigh
-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of
firedude at shorelinuxsolutions.com
Sent: Saturday, October 25, 2003 1:58 PM
To: Eric Wieling
Cc: asterisk-users at lists.digium.com
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, firedude at shorelinuxsolutions.com wrote:
> > Yes I do have gzip installed on that box. Any other ideas?
> >
> > On Sat, 25 Oct 2003, WipeOut wrote:
> >
> > > firedude at shorelinuxsolutions.com 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
> > Asterisk-Users at lists.digium.com
> > 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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
More information about the asterisk-users
mailing list