<div>Hi, </div>
<div>I have&nbsp;4.5.4 CDRTool version.&nbsp;I patched my cdr_addon_mysql like this:</div>
<p><em>&nbsp;cd ../asterisk-addons<br>&nbsp;&nbsp; - Add a line into asterisk-addons/Makefile reading:<br>&nbsp;&nbsp;&nbsp;&nbsp; CFLAGS+=-DMYSQL_LOGUNIQUEID<br>&nbsp;&nbsp; - edit cdr_addon_mysql.c and replace the line reading<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AST_MUTEX_DEFINE_STATIC(mysql_lock);
<br>&nbsp;&nbsp;&nbsp;&nbsp; with<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static ast_mutex_t&nbsp; mysql_lock&nbsp;&nbsp; = AST_MUTEX_INITIALIZER;<br>&nbsp;&nbsp; - change the asterisk table name from cdr to asterisk_cdr in <br>&nbsp;&nbsp;&nbsp;&nbsp; cdr_addon_mysql.c</em></p>
<p><em>&nbsp;&nbsp; chmod 644 cdr_addon_mysql.so<br>&nbsp;&nbsp; cp cdr_addon_mysql.so /usr/lib/asterisk/modules/<br>&nbsp;&nbsp; restart Asterisk</em></p>
<div>But when I &quot;make&quot; , I've got error&nbsp;like this:</div>
<div>cdr_addon_mysql.c:61: error: `__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__' undeclared here (not in a function)<br>make: *** [cdr_addon_mysql.o] Error 1<br>rm app_saycountpl.o<br>&nbsp;</div>
<div>&nbsp;I also have problem with web client, I see require_once 'HTTP/Request.php' , but there is no directory HTTP and file Request.php .</div>
<div>Can You advice something<br clear="all"><br>&nbsp;</div><br><br>
<div><span class="gmail_quote">2006/6/21, <a href="mailto:hgaillac-sip@yahoo.fr">hgaillac-sip@yahoo.fr</a> &lt;<a href="mailto:hgaillac-sip@yahoo.fr">hgaillac-sip@yahoo.fr</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br>I 've got cdrtool web interface working not SOAP<br>client/server again !<br><br>I compiled cdr_addon_mysql.so however i have not tried
<br>it to insert datas in cdrtool.<br><br>Harry<br>--- Giedrius Augys &lt;<a href="mailto:voipas@gmail.com">voipas@gmail.com</a>&gt; a écrit :<br><br>&gt; Has anybody patched sucessfully cdr_addon_mysql.c ,<br>&gt; cause I get error . And
<br>&gt; does work cdrtool web interface for you? Maybe you<br>&gt; can give me some advices<br>&gt; &gt; _______________________________________________<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">
Easynews.com</a><br>&gt; --<br>&gt;<br>&gt; Asterisk-Users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;<br>&gt;<br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>&gt;<br><br><br><br><br><br><br><br>___________________________________________________________________________<br>Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
<br><a href="http://fr.mail.yahoo.com">http://fr.mail.yahoo.com</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list
<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>
-- <br>Pagarbiai,<br>Giedrius Augys<br>Siauliu Universitetas, IST<br>IP telefonijos inzinierius<br>Tel. 8 41 590408<br>Mob. Tel. 8 678 05790<br>el. pastas <a href="mailto:voipas@gmail.com">voipas@gmail.com</a>