[Asterisk-Users] HELP! With Postresql

Martin Keding mkeding at ratrivertech.ca
Wed Jul 28 20:37:40 MST 2004


Thanks for your help

The cdr_pgsql.so was not there. Do I change the mods line to

MODS=cdr_csv.so; cdr_pgsql.so

Ie. Do I add a semi-colon or not.

Thanks
Martin


Hi -

Check /usr/lib/modules to see if cdr_pgsql.so is in there.

If not, edit the Makefile in the asterisk/cdr directory and add
"cdr_pgsql.so" to the MODS= line near the top of the file and then rebuild.
You may need to edit some files if your postgresql headers aren't where the
source expects.

Is asterisk going to get an autoconf script any time soon?

On Wed, 2004-07-28 at 22:52, Martin Keding wrote:
> I installed Postresql and then recompiled Asterisk. I understood that 
> Asterisk would see Postresql on the recompile and add it. Is there a 
> way of checking?
> 
> Martin
> 
> 
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Stephen R. 
> Darragh
> Sent: Tuesday, July 27, 2004 10:54 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] HELP! With Postresql
> 
> 
> Have you actually compiled the pgsql CDR module in to Asterisk?
> 
> 
> On Wed, 2004-07-28 at 09:43, Martin Keding wrote:
> > I am having some real problems with getting CDR records to go to a
> > Postresql database. I think I have followed every post and instruction 
> > available and Asterisk still happily writes to a text file. Postresql 
> > is installed and working on a Redhat 9.0 box, the same one as 
> > Asterisk. I have created the CDR table in a database called Asterisk. 
> > Conf files etc are set. I even recompiled Asterisk. Any pointers would 
> > be greatly appreciated.
> > 
> > Martin
> > 
> > _______________________________________________
> > 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
-- 
Stephen Darragh
Technical Director
Informed Technology
Ph: +61 8 9380 4244  Fax: +61 8 9380 4354

_______________________________________________
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