[Asterisk-Users] Modified Prepaid App Database error

oi geli oigeli2000 at yahoo.com
Tue Jun 22 12:55:48 MST 2004


Prepaid app can not connect to the database,

[app_prepaid.so] => (Prepaid Application)
  == Parsing '/etc/asterisk/prepaid.conf': Found
Jun 22 14:38:43 ERROR[-1084964736]: app_prepaid.c:127
check_connected: app_prepaid: cannot connect to
database server localhost.  Calls will not be logged
  == Registered application 'Prepaid'

Here is pgsql confs;

pg_hba.conf:
------------
local	all	asterisk	127.0.0.1  255.255.255.0 	trust
local	all	prepaid		127.0.0.1  255.255.255.0		trust
local	all	freerad		127.0.0.1	  255.255.255.0 	trust

pg_indent.conf:
---------------
# MAPNAME     IDENT-USERNAME    PG-USERNAME
asterisk	asterisk	asterisk
prepaid		prepaid		prepaid
freerad		freerad		freerad

prepaid.conf:
-------------
[global]
hostname=localhost
dbname=prepaid
password=asterisk
user=asterisk
port=5432
;sock=/tmp/pgsql.sock

Please help.....

Do I need to configure CDR for MySQL to run the
prepaid app?

Thanks






	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 



More information about the asterisk-users mailing list