Menu

AstCDR

Profº Delphini

Para que funcione corretamente execute os procedimentos abaixo:

cd /etc/php5/apache2

cp -a php.ini php.ini.old

[~] # vim php.ini
short_open_tag = On (linha 202)
max_execution_time = 120 (linha 372)
memory_limit = 512M (linha 393)
error_reporting = E_COMPILE_ERROR (linha 449)
upload_max_filesize = 12M (linha 810)

cd /var/www/html/astcdr/

ln -s /var/spool/asterisk/monitor monitor

Dentro da pasta do projeto tem uma pasta chamada "lib" dentro desta pasta tem um arquivo chamado "defines.php" e neste arquivo que você tem que colocar usuario e senha de seu banco de dados.

define ("WEBROOT", "http://localhost/cdrvst/");
define ("FSROOT", "/var/www/cdrvst/");

define ("LIBDIR", FSROOT."lib/");

define ("HOST", "localhost");
define ("PORT", "3306");
define ("USER", "root");
define ("PASS", "mypass");
define ("DBNAME", "verbio");
define ("DB_TYPE", "mysql"); // mysql or postgres

define ("DB_TABLENAME", "pbxip_cdr");

Tenha cuidado ao manipular estes arquivos.

Project Members:


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.