Re: New entry for Interim packet

2008-11-20 Thread tnt
Except when it comes to working out the usage stats for each user at the end of each month. Its easy to do with all sessions that started in the previous month and have a Stop status. But it's difficult when a session rolled over to the next month because the status is Alive. We're trying to

Re: New entry for Interim packet

2008-11-20 Thread Marinko Tarlac
Create CRON script which starts 5-10 min after midnight (first day in the month) and disconnect all active users. Then you will have AcctStopTime information in your database and you can sum traffic from previous month... Tony Spencer wrote: Hello Our setup is as follows: Centos 5.2

RE: New entry for Interim packet

2008-11-20 Thread Tony Spencer
-Original Message- From: [EMAIL PROTECTED] [mailto:freeradius-users- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 20 November 2008 18:30 To: FreeRadius users mailing list Subject: Re: New entry for Interim packet Except when it comes to working out the usage stats

RE: New entry for Interim packet

2008-11-20 Thread Tony Spencer
I'd rather not disconnect 4,000 users in one go. -Original Message- From: [EMAIL PROTECTED] [mailto:freeradius-users- [EMAIL PROTECTED] On Behalf Of Marinko Tarlac Sent: 20 November 2008 19:02 To: FreeRadius users mailing list Subject: Re: New entry for Interim packet Create

Re: New entry for Interim packet

2008-11-20 Thread Leigh Martell
Of Marinko Tarlac Sent: 20 November 2008 19:02 To: FreeRadius users mailing list Subject: Re: New entry for Interim packet Create CRON script which starts 5-10 min after midnight (first day in the month) and disconnect all active users. Then you will have AcctStopTime information

Re: New entry for Interim packet

2008-11-20 Thread Marinko Tarlac
mailing list Subject: Re: New entry for Interim packet Create CRON script which starts 5-10 min after midnight (first day in the month) and disconnect all active users. Then you will have AcctStopTime information in your database and you can sum traffic from previous month... Tony Spencer wrote

RE: New entry for Interim packet

2008-11-20 Thread tnt
If you are such a nasty provider that won't allow users to roll over unused allowance into the next period even during the existing session - simply disconnect them at the time the counter resets (use Login-Time on users connecting on the last day for instance). Be nasty to the end! Its not

Re: New entry for Interim packet

2008-11-20 Thread Evgeniy Kozhuhovskiy
Tony Spencer wrote: I'd rather not disconnect 4,000 users in one go. In fact, this thing should be done with BRAS functionality. For example, some BRAS'es has support of restarting of accounting at least, also there is a prepaid feature, that could be helpful for you. Also you can use CoA

RE: New entry for Interim packet

2008-11-20 Thread Tony Spencer
PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Leigh Martell Sent: 20 November 2008 20:41 To: FreeRadius users mailing list Subject: Re: New entry for Interim packet Hello Tony, If you set you interim update to 5 or 10min you could then run a script at midnight to send accounting packets