Time based billing

Alan DeKok aland at deployingradius.com
Wed Dec 3 09:16:05 CET 2008


Saeed Akhtar wrote:
> Yes I know that freeradius doesn't know whether we are charging $ 1 or
> 2. But the purpose of asking question was that If a user has 3 hrs left
> @ $1/hr and after an hour the rate changes to 0.5/hr then technically
> freeradius should reply Session-Timeout = 5hrs as (1hr @ $1/hr + 4hrs @
> $0.5/hr). So may be we can create some condition to do so. 

  See the "expr" module.  It has limited support for some math expressions.

  Alan DeKok.



More information about the Freeradius-Users mailing list