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