<div>I have solved the problem, I have already install mysql-devel and then </div>
<div><br># cd asterisk-addons-1.4.0<br># make distclean<br># ./configure<br># make<br># make install<br># make samples</div>
<div>
<p>My Call Detail Records is running.</p></div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">2007/1/17, Savoy, Kevin - Williston, ND <<a href="mailto:ksavoy@novo1.com">ksavoy@novo1.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I had the same issue. I needed to install #yum install mysql-devel.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Once I did this the addons compiled the file fine.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">
asterisk-users-bounces@lists.digium.com</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
] <b><span style="FONT-WEIGHT: bold">On Behalf Of </span></b>Pablo Almido<br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, January 17, 2007 9:43 AM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users@lists.digium.com" target="_blank">
asterisk-users@lists.digium.com</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> [asterisk-users] Asterisk 1.4 and CDR</span></font></p></div>
<div><span class="e" id="q_11030d452e77e7e2_1">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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:
</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"># yum install ncurses</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">#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
</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"># yum install zlib<br># yum install zlib-devel<br># yum install ncurses-devel</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Install perl support</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">perl -MCPAN -e "install DBD::mysql"</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> I compile /usr/src/asterisk-addons as follows: </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> # ./configure<br> # make clean <br> # make install </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> In the file /etc/asterisk/cdr_mysql.conf </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">[global]<br>hostname=localhost<br>dbname=asteriskcdrdb<br>table=cdr<br>password=strongpass<br>user=asterisk<br>port=3306<br>userfield=1</span></font>
</p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br>In the File asterisk-stat</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">define ("WEBROOT", "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://192.168.190.10/asterisk-stat/" target="_blank">
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");</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> When I compile asterisk-addons it pass very good, but I do not build the file <strong><b><font face="Times New Roman">cdr_addon_mysql.so</font></b>
</strong> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Do you have similar problem ? Thanks for your response. Excuseme for my english, it is not my native language.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div></span></div></div></div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">
Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>