21 Jul
2016
21 Jul
'16
8:09 a.m.
Hello again, 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). Is this a legitime way or is it dangerous to modify the structure of the table radacct for any reason and there is a better way to account additional attributes? Many thanks in advance! Uwe Freier