Good Day I have a freeradius with monthly reset users, when their data is depleted, they are denied login. I wanted to implement a top-up system, so that they can purchase additional data when this happens. The additional data should only get used if the monthly data is depleted ad should also rollover. Is there a way to do this with freeradius and sql_counter or do I need to look at something else? Regards Tommy Papangeli
On Aug 14, 2019, at 9:47 AM, tommyp@easttel.co.za wrote:
I have a freeradius with monthly reset users, when their data is depleted, they are denied login.
I wanted to implement a top-up system, so that they can purchase additional data when this happens.
The additional data should only get used if the monthly data is depleted ad should also rollover.
Is there a way to do this with freeradius and sql_counter or do I need to look at something else?
Change the the value of the Max-Daily-Session attribute. That's why it's in an attribute, and not hard-coded into the "sqlcounter" configuration file. Where is that attribute being set now? Can you change it there? Or maybe have *another* table for top-ups, that over-rides the original value of Max-Daily-Session. Alan DeKok.
participants (2)
-
Alan DeKok -
tommyp@easttel.co.za