Luego de dejar Asterisk@home para empezar de cero con Asterisk, me dispuse a instalar Asterisk-stats en mi Debian con PostgreSQL, PHP y Apache2.
Las instrucciones de instalacion del STATS son "minimas", los unicos pasos que indican seguir son:
Edit defines.php files
* WEBROOT: This is the root URL of the application.
Example: [url]http://youdomain.com/asterisk-stat/[/url]
* FSROOT: This is the server path which contain the application.
Example: /home/users/asterisk-stat/
* HOST: This is the Database host name.
Example: localhost
* PORT: Database port.
Example: 5432
* USER: Username to access to the database.
Example: username
* PASS: Database password of the user.
Example: password
* DBNAME: Name of the Database.
Example: asteriskcdr
* DB_TYPE: Database type.
support: mysql and postgres
* DB_TABLENAME: Table of the database containing the CDR.
Example: cdrtable
Cuando trato de abrir la pagina cdr.php me tira este error
Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "asteriskstats" in /var/www/html/stats/lib/DB-modules/phplib_postgres.php on line 68
Database error: Link-ID == false, pconnect failed
PostgreSQL Error: 0 ()
(Con psql he creado el usuario asteriskstats, pero ninguna base de datos)
Alguien sabe como seguir? Gracias