[Asterisk-Users] Problem with asterisk and postgresql

DIPAK PAUL dipak_kr_paul at hotmail.com
Mon Aug 23 02:03:53 MST 2004


Hi Every one and Fabio Donaggio

Fabio Donaggio you have faced same type of problem with postgresql with 
asterisk. Did you solved your problem. Please help me. The problem is as 
follows:

When i reload the asterisk I had got this error


"== Parsing '/etc/asterisk/cdr_pgsql.conf': Found
Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:299 my_load_module: 
cdr_pgsql: Unable to connect to database server localhost.  Calls will not 
be logged!
Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:300 my_load_module: 
cdr_pgsql: Reason: could not connect to server: Connection refused
        Is the server running on host localhost and accepting
        TCP/IP connections on port 5432?
"
And I have configure the cdr_pgsql.conf file as:
"
[global]
hostname=localhost
port=5432
dbname=asterisk
password=
user=postgres
"

Please help me.

With best regards.

Dipak Kumar Paul
Tryarc LLC

_________________________________________________________________
Sports, sports and more sports! Keep up with all the action! 
http://www.msn.co.in/sports/  Stay connected with MSN Sports!




More information about the asterisk-users mailing list