(RADIATOR) SessionDatabase replacing records on Alive packets
Alex Sharaz
A.Sharaz at hull.ac.uk
Fri May 2 05:33:08 CDT 2008
|I'm doing the same thing
two options
1) define deletequery to be null in the config file
2). Use replace query and use your own update... sql statement
I'm assuming here that you;'ve got a handler specifically for accounting alive packets
Alex
-----Original Message-----
From: owner-radiator at open.com.au on behalf of David Craigon
Sent: Fri 02/05/2008 10:50
To: radiator at open.com.au
Subject: (RADIATOR) SessionDatabase replacing records on Alive packets
Hello,
I'm running a standalone radius accounting server. What I want to
achieve is to have a row in a database in a table appear when I get a
start packet, and for it to be deleted again when I get a stop packet.
To this end, I am using a sessiondb.
The only problem I am having is that every time an Alive packet shows
up, the Delete query followed by the Insert query gets run. Since I
record when the session started using the SQL statement, I'd like it not
to do this.
I don't want to ignore Alive packets altogether, since I do something
else with them using an AcctSQLStatement.
Any advice?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20080502/242eaa19/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20080502/242eaa19/attachment.ksh>
More information about the radiator
mailing list