3 Dec
2008
3 Dec
'08
3:16 a.m.
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.