Accounting additional attributes
aland at deployingradius.com
Thu Jul 21 14:11:18 CEST 2016
On Jul 21, 2016, at 2:09 PM, Uwe Freier <uwe at freier.de> wrote:
> for any reason the attributes ADSL-Agent-Circuit-Id und ADSL-Agent-Remote-Id shall be accounted. My NAS sends them with each packet to the radius but there are no columns for them in the table radacct. So in my infinite naivity I simply would add this columns to table radacct and modify the SQL query "accounting_start_query" from /sql/mysql/dialup.conf so that these values are written each time an accounting starts (sure they must be only accounted once per session).
That's the correct way to do it.
More information about the Freeradius-Users