<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Bericht</TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY>
<DIV><SPAN class=656151200-15112009><FONT color=#0000ff size=2>Hi
Lazlo,</FONT></SPAN></DIV>
<DIV><SPAN class=656151200-15112009><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656151200-15112009><FONT color=#0000ff size=2>I compiled the
freeradius-xs_1.1.7.orig after having done a 'yum install libtool-ltdl-devel'. I
applied the patch and now radius inserts and updates records. Thanks for the
tip.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV dir=ltr lang=nl class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Oorspronkelijk bericht-----<BR><B>Van:</B>
users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org]
<B>Namens </B>Laszlo<BR><B>Verzonden:</B> vrijdag 13 november 2009
23:19<BR><B>Aan:</B> OpenSIPS users mailling list<BR><B>Onderwerp:</B> Re:
[OpenSIPS-Users] Freeradius returns error 1312<BR><BR></FONT></DIV>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
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<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><BR>--
<BR>This message has been scanned for viruses and <BR>dangerous content by <A
href="http://www.mailscanner.info/"><B>MailScanner</B></A>, and is
<BR>believed to be clean. </BLOCKQUOTE></BODY><br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>