[SR-Users] Kamailio blocked when using with Radius accounting when connection is lost with the database.

Mx R freemxr at gmail.com
Wed Jul 6 10:07:55 CEST 2016


Hi there.

I have the following scheme.

1. SIP server is running kamailio with module "acc", radiusclient-ng and
freeradius.
2. DB server with MSSQL.

The problem is the following, if the connection is lost with the database,
no one can make calls. Even after the connection to the database is
restored.
We have to restart the radius and kamailio. And only after that can make
calls.

Kamailio logs

rc_send_server: no reply from RADIUS server localhost: 1813
ERROR: acc [acc.c: 720]: acc_rad_request (): radius-ing failed

Radius logs.

Error: rlm_sql_unixodbc: SQL down 08S01 [unixODBC] [FreeTDS] [SQL Server]
Write to the server failed

Below are links to a similar problem.

http://lists.opensips.org/pipermail/users/2012-March/021100.html
http://lists.opensips.org/pipermail/users/2012-March/021102.html
http://lists.opensips.org/pipermail/users/2012-March/021105.html
http://lists.opensips.org/pipermail/users/2012-March/021128.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160706/0553e7a0/attachment.html>


More information about the sr-users mailing list