Create New Session Based On Accounting Update

Alan DeKok aland at deployingradius.com
Sun Feb 23 14:05:04 CET 2020


On Feb 22, 2020, at 6:49 PM, One Zero Art <onezeroartapps at gmail.com> wrote:
> I am trying to create a new session and insert it into radacct table based
> on an accounting request from NAS.

  That's what the server does automatically.

> When NAS sends Interim Update I want to check if that user already in
> radacct table and null or not null. If not null then create a new session
> and make that user online in freeradius.

  The default queries for the SQL modules do this.  Just run the server in debug mode, and watch the server do its magic.

> I am not sure if it's possible or even the right thing to do.

  It's the right thing to do.  It's possible with *zero* work on your part.

  Alan DeKok.




More information about the Freeradius-Users mailing list