Insert accounting data in different tables based on realm

Alan DeKok aland at
Wed Mar 4 15:58:56 CET 2015

On Mar 4, 2015, at 8:07 AM, Francisco Amaral <famaral at> wrote:
> For instance I would like to:
> insert accounting data for user at into radiusdb.radacct
> insert accounting data for user at into radiusdb.radaccttemp

  That’s possible.  Look at the dialup.conf files.  They will have something like:

          UPDATE ${acct_table1} \

  Just change that to:

	UPDATE %{Towerstream-Acct-Table} \

  everywhere.  Then, add that attribute to raddb/dictionary as type “string”.  Then update the attribute with whatever value you need, prior to calling the SQL module.

  Alan DeKok.

More information about the Freeradius-Users mailing list