On Wed, Oct 12, 2011 at 2:16 PM, Student University <[email protected]> wrote: > > OK , > > from Cisco side it always clear just search about ISG Billing and you will > find allot , > > the difficult part is & what i am asking about how to customize freeradius to > support prepaid billing (both quota volume & time ),,,
Freeradius side is simple enough. Basic concepts (pretty much the same for time & volume-based): - you have an attribute that stores a particular limit for a user (e.g. Max-All-Session) - you have a rule on how to calculate current "usage" (e.g. Max-All-Session-Time = sum of all AcctSessionTime) - you determine how the calculation takes place (e.g. looking at all records, or looking at this month's record only) - you determine which attribute to send to NAS to tell them "this is how much limit the user has left" (e.g. Session-Timeout) http://wiki.freeradius.org/Rlm_sqlcounter and http://wiki.freeradius.org/Rlm_counter is a good place to start You wil NOT, by default, get a pretty GUI to manage prepaid billing. AFAIK daloradius and dialup_admin provides some kind of GUI, but it might not be 100% suitable replacement for Cisco solution. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

