Radius can and should report both on and off times, look into your configuration. As far as 1st of the month, consider it virtually closed & open at midnight on 30th/31st in accounting. Example how to do it could be to write a script that when processes radius log at the end of the month and looks at all open sessions adding "end" radius accounting data in there as well as adding start session for next month's log. P.S. I've not ran dialup ISP and used radius for LONG time but did exactly as above for hourly customers before. The biggest issue I remember was when your dialup server itself dies (rare but happened) since then you do not have record of customers getting off, same script was used to virtually "close" sessions. On Fri, 11 May 2007, Joe Shen wrote:
hi,
Maybe this is out-of-topic ,but I can't find any place where could find answer for this question. If this is intrusive, just ingore it please.
my question is : how does ISP do with DSL dial-up sessions which pass the accouting period time.
E.g. If a customer subscribe DSL service at 15USD/month for 150hours. If the subscriber used 145hours by 30th May. He get online at 21:00 on 31th, and get offline at 5:00 on June 2th.
The radius server could only export the customer's session when he get offline. So, problem comes to accouting system which was designed to calculate customer usage on first day of each month. The cut-off line of each month usage is set to 00:00 on first day of each month.
Someone says , ISP should force those session closed at 00:00 on first day of each month, because they must ensure dial-up session of last month sould not be accouted in next month. Is this true ?
thanks in advance.
Joe