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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html