SQLCounter configuration

alt_ alt at softwarium.net
Thu Feb 26 10:46:43 CET 2009



tnt-4 wrote:
> 
>>3)      Currently I receive something like   Reply-Message = "Your maximum
>>never usage time has been reached"   when the counter reaches its limit -
>>even when what was counted as not time but data volume. Can Reply-Message
>>for sqlcounter be configured as in the expiration module?
>>
> 
> No. But you can sort out the reply with unlang.
> 
> 

Can you show some examples please? I try to do like this:

    noresetBytecounter

    if (reject) {
        update reply {
            Reply-Message := "Traffic limit exceeded."
        }
    }

but if noresetBytecounter return reject freeradius immediatly return reject
to user and do not process 'if' clause

-- 
View this message in context: http://www.nabble.com/SQLCounter-configuration-tp21384983p22219985.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list