[asterisk-users] Asterisk 1.4 and CDR

Savoy, Kevin - Williston, ND ksavoy at novo1.com
Wed Jan 17 09:04:18 MST 2007


I had the same issue. I needed to install  #yum install mysql-devel.

 

Once I did this the addons compiled the file fine.

 

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pablo
Almido
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/32bd0ca4/attachment.htm


More information about the asterisk-users mailing list