On Thu, 26 Feb 2009 20:56:03 +0200, <[email protected]> wrote:

I can do like this:

        if (!reply:ChilliSpot-Max-Total-Octets) {
            update reply {
                Reply-Message := "Traffic limit exceeded."
            }
        }

but if user enter wrong password "Traffic limit exceeded." error message
will be displayed.


I had a look at the code and sqlcounter module sets the Reply-Message:
"Your maximum %s usage time has been reached" when user is rejected.
Check for that reply message and alter it.

Thank you. I see this solution in the internet, but i need configurable Reply-Message, becouse i want to limit not only traffic, but session time too.


--
ISP CrIS, Softwarium
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to