prepaid billing

Fajar A. Nugraha list at fajar.net
Wed Oct 12 13:09:42 CEST 2011


On Wed, Oct 12, 2011 at 2:16 PM, Student University <studentmf at gmail.com> 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



More information about the Freeradius-Users mailing list