<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=984170520-17012007><FONT face=Arial
color=#0000ff size=2>I have the same problem. Please reply to the list if
you figure it out. I'll do the same.</FONT></SPAN>
</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>  
<FONT face=Tahoma size=2><B>From:</B> Pablo Almido [mailto:almidoster@gmail.com]
<BR>
<B>Sent:</B> Wednesday, January 17, 2007 9:43 AM<BR>
<B>To:</B>
asterisk-users@lists.digium.com<BR>
<B>Subject:</B> [asterisk-users] Asterisk 1.4
and CDR<BR>
</FONT><BR>
</DIV>
<DIV></DIV>
<DIV>
<P>
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:
</P></DIV>
<DIV>
</DIV>
<DIV># yum install ncurses
</DIV>
<DIV>
<P>
#yum install openh323-devel<BR>
# yum install mysql-server<BR>
# yum install
mysql<BR>
# yum install php-gd<BR>
# yum install php-mysql<BR>
# yum install
mysqlclient10
</P>
<P># yum install zlib<BR>
# yum install zlib-devel<BR>
# yum install
ncurses-devel
</P>
<P>Install perl support
</P>
<P>perl -MCPAN -e "install DBD::mysql"
</P>
<P> I compile /usr/src/asterisk-addons as follows:
</P>
<P> # ./configure<BR>
# make clean <BR>
# make
install
</P>
<P> In the file /etc/asterisk/cdr_mysql.conf
</P>
<P>[global]<BR>
hostname=localhost<BR>
dbname=asteriskcdrdb<BR>
table=cdr<BR>
password=strongpass<BR>
user=asterisk<BR>
port=3306<BR>
userfield=1
</P>
<P>
</P>
<P><BR>
In the File asterisk-stat
</P>
<P>define ("WEBROOT", "<A
href="http://192.168.190.10/asterisk-stat/">http://192.168.190.10/asterisk-stat/</A>");<BR>
define
("FSROOT", "/var/www/html/asterisk-stat-v2/");<BR>
define ("LIBDIR",
FSROOT."lib/"); <BR>
define ("HOST", "localhost");<BR>
define ("PORT",
"3306");<BR>
define ("USER", "asterisk");<BR>
define ("PASS",
"strongpass");<BR>
define ("DBNAME", "asteriskcdrdb"); <BR>
define ("DB_TYPE",
"mysql"); // mysql or postgres<BR>
define ("DB_TABLENAME", "cdr");
</P>
<P> When I compile asterisk-addons it pass very good, but I do not
build the file <STRONG>cdr_addon_mysql.so</STRONG>
</P>
<P>Do you have similar problem ? Thanks for your response.
Excuseme for my english, it is not my native language.
</P></DIV>
<DIV>
</DIV>
<P>
</P></BODY></HTML>