[asterisk-users] Asterisk 1.4 and CDR

Pablo Almido almidoster at gmail.com
Wed Jan 17 08:43:25 MST 2007


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/c2c9417f/attachment.htm


More information about the asterisk-users mailing list