<div class="gmail_quote">On Fri, Sep 14, 2012 at 7:51 AM, DataWizApp <span dir="ltr"><<a href="mailto:datawizapp@gmail.com" target="_blank">datawizapp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I wonder whether RADIUS can be easily extended to track the usage in<br>
every hour (or 30 mins) of the day?<br>
The current ACCT START/STOP and INTERIM UPDATE INTERVAL are<br>
per-session basis and hence it is hard to track the usage of each<br>
session in every hour.<br>
I can imagine that this would face some performance issue with many<br>
flows, but I think this feature will be very useful for time-dependent<br>
usage charging.<br>
<br>
It would be great if anyone gives me some insight on this.<br></blockquote><div><br></div></div>What you're asking for isn't a function of a Radius server, but of the NAS (the box that is sending the requests) and the backend database you use with FreeRadius.<br>
<br>What you would need to do is have frequent Interium updates being sent to FreeRadius, then it checks the usage and if it's outside the time sends a CoA/DM to disconnect the subscriber.<br>Otherwise writing a cron job on the server to check the session information and send CoA/DM messages when the subscriber has gone over their limits.<br>
<br>This is standard functionality of FreeRadius, just need to configure it to your needs.<br>