[asterisk-users] Asterisk 1.4 and CDR

John French jFrench at vividvoicedata.com
Wed Jan 17 13:07:17 MST 2007


I have the same problem.  Please reply to the list if you figure it out.
I'll do the same.

  _____  

From: Pablo Almido [mailto:almidoster at gmail.com] 
Sent: Wednesday, January 17, 2007 9:43 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Asterisk 1.4 and CDR



Hi guys, I have recently installed a Asterisk Server with CDR  Call
Detail Records.  I have installed it over a Asterisk 1.2 , but  now It
do not run .  I have installed it with the following procedure:

 
# yum install ncurses

#yum install openh323-devel
# yum install mysql-server
# yum install mysql
# yum install php-gd
# yum install php-mysql
# yum install mysqlclient10

# yum install zlib
# yum install zlib-devel
# yum install ncurses-devel

Install perl support

perl -MCPAN -e "install DBD::mysql"

 I compile /usr/src/asterisk-addons as follows: 

  # ./configure
  # make clean  
  # make install 

 In the file  /etc/asterisk/cdr_mysql.conf 

[global]
hostname=localhost
dbname=asteriskcdrdb
table=cdr
password=strongpass
user=asterisk
port=3306
userfield=1

 


In the File asterisk-stat

define ("WEBROOT", "http://192.168.190.10/asterisk-stat/");
define ("FSROOT", "/var/www/html/asterisk-stat-v2/");
define ("LIBDIR", FSROOT."lib/"); 
define ("HOST", "localhost");
define ("PORT", "3306");
define ("USER", "asterisk");
define ("PASS", "strongpass");
define ("DBNAME", "asteriskcdrdb"); 
define ("DB_TYPE", "mysql"); // mysql or postgres
define ("DB_TABLENAME", "cdr");

 When I compile  asterisk-addons it pass very good, but I do not build
the file cdr_addon_mysql.so 

Do you have similar problem ?    Thanks for your response. Excuseme for
my english, it is not my native language.

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/55fe256c/attachment.htm


More information about the asterisk-users mailing list