[OpenSIPS-Users] Freeradius returns error 1312

Laszlo laszlo at voipfreak.net
Fri Nov 13 23:19:13 CET 2009

Hi Erik,

2009/11/13 erik pepermans <cpu1 at telenet.be>

>  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.
> When opensips tries to hand over accounting to the freeradius following is
> seen in radiusd :
> rlm_sql (sql): Reserving sql socket id: 13
> rlm_sql_mysql: MYSQL check_error: 1312 received
> 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
> I am trying to resolve this issue for a few days now - without result
> Please help
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>

You using monthly rotated tables, right?
 Did you apply the patches to work properly with the stored procedures? You
can also try to compile and run this:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091113/4df86f57/attachment.htm 

More information about the Users mailing list