[freeside] Traffic Charging

ivan ivan at 420.am
Sat May 20 22:35:08 PDT 2000


On Sun, Jan 30, 2000 at 04:43:30PM -0800, Kristian Hoffmann wrote:
> If you can get radius to log directly to your sql server or just insert
> all the data from your logs there every billing cycle, it shouldn't be too
> difficult.  If you add up all the traffic generated by a user and modify
> freeside-bill to add on an extra charge based on that amount it could be
> done.
> 
> Don't ask me how you'd impliment that, but it does seem possible. :)

Hopefully, you don't even need to modify freeside-bill: All prices are
Perl expressions, you should be able to simply specify a perl expression
that queries the necessary traffic or metering information and returns the
appropriate price.

> 
> -Kristian
> 
> On Sun, 30 Jan 2000, Mitchell wrote:
> 
> > Has anyone managed to get Freeside to import traffic data from a radius
> > server such as icradius or radiator so that packages can be made up
> > depending on how much data a user uses, and billing for excess data used
> > etc?? 
> > 
> > there is probably some really easy t ay to do this already but I am unable
> > to figure out how. Any hints would be appreciated.
> > 
> > Thanks
> > 
> > >From Mitchell
> > 
> > 
> > 
> > 
> 

-- 
meow
_ivan



More information about the freeside-users mailing list