El 15/04/14 18:59, Alan DeKok escribió:
Fernando Pizarro wrote:
My first problem is the Accounting On/Off packet update *all* records of the NAS with the current timestamp as acctstoptime, acctterminatecause are "Nas-Reboot".
That is now Accounting On/Off packets are supposed to work.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sorry, I meant that the acctstoptime is the current timestamp and the acctsessiontime is acctstoptime less acctstarttime of all records and that is my problem. I have stale sessions even of days between start and stop accounting records and I search the better solution to avoid that. I'll change accounting_onoff_query to doesn't update acctsessiontime or add some seconds perhaps. Thanks for all. Regards. Fernando.