Re: [asterisk-users] CDR to Postgres Centos

2009-09-01 Thread ABBAS SHAKEEL
Hello Barry I am using asterisk 1.6.1.2 ... Yeah the database was created at that time . because if the database is not created then it gives another error i remeber like .. database not found or not accepting connections... The problem is solved automatically ... I have done nothing (rest

Re: [asterisk-users] CDR to Postgres Centos

2009-09-01 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ABBAS SHAKEEL wrote: > Can i know which querry is executed to insert record to database... > > i am asking this because of > > [Sep 1 12:46:09] ERROR[19498]: cdr_pgsql.c:309 pgsql_log: Failed to > insert call detail record into database! > [Sep 1

Re: [asterisk-users] CDR to Postgres Centos

2009-08-31 Thread ABBAS SHAKEEL
Thanks alot Barry this was really helpful Can i know which querry is executed to insert record to database... i am asking this because of [Sep 1 12:46:09] ERROR[19498]: cdr_pgsql.c:309 pgsql_log: Failed to insert call detail record into database! [Sep 1 12:46:09] ERROR[19498]: cdr_pgsql.c:310

Re: [asterisk-users] CDR to Postgres Centos

2009-08-31 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ABBAS SHAKEEL wrote: > but when i execute this ./configure --with-postgres= postgresql is installed> > > it gives an error for missing an pg_config file . i searched the PC > but it really dont exists. but database server is fine and working

Re: [asterisk-users] CDR to Postgres Centos

2009-08-30 Thread ABBAS SHAKEEL
I am following this procedure ou have to compile asterisk with the cdr_pgsql.o module, for this follow the steps: Configure asterisk with postgresql support: ./configure --with-postgres= Then issue the command: make menuconfig in the menu select 2.Call Detail Recording -> then check cdr_pgsql

[asterisk-users] CDR to Postgres Centos

2009-08-30 Thread ABBAS SHAKEEL
Hello I have installed postgres and asterisk on centos. I confused which module i have to install to store CDR info to postgres DB. I have visited some links but mostly are for configuration file in database. I only want CDR to Database not the configuration files for time being Please help