Hi Erik,<br><br><div class="gmail_quote">2009/11/13 erik pepermans <span dir="ltr"><<a href="mailto:cpu1@telenet.be">cpu1@telenet.be</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font size="2">I have set up
opensips+cdrtool+freeradius on CentOS. I have recompiled freeradius 1.1.3 and
copied sql.conf accordlingly as described in the setup of
CDRTool.</font></span></div>
<div><span><font size="2">When opensips tries to hand
over accounting to the freeradius following is seen in radiusd
:</font></span></div>
<div><span><font size="2"></font></span> </div>
<div><span><font size="2">rlm_sql (sql): Reserving sql
socket id: 13<br>rlm_sql_mysql: MYSQL check_error: 1312 received<br>rlm_sql
(sql): Couldn't insert SQL accounting FAILED record - PROCEDURE
radius.insert_radacct_record can't return a result set in the given
context<br></font></span></div>
<div><span><font size="2">I am trying to resolve this
issue for a few days now - without result </font></span></div>
<div><span><font size="2"></font></span> </div>
<div><span><font size="2">Please
help</font></span><br></div></div><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank"></a></blockquote><div><br>You using monthly rotated tables, right?<br> Did you apply the patches to work properly with the stored procedures? You can also try to compile and run this: <a href="http://ag-projects.com/debian/pool/main/f/freeradius-xs/freeradius-xs_1.1.7.orig.tar.gz">http://ag-projects.com/debian/pool/main/f/freeradius-xs/freeradius-xs_1.1.7.orig.tar.gz</a><br>
<br>-Laszlo<br><i><br></i></div></div>