Dynamic session timeout

Alan DeKok aland at deployingradius.com
Thu Nov 1 19:03:16 CET 2018



> On Nov 1, 2018, at 1:58 PM, Sam T <givemesam at gmail.com> wrote:
> 
> Hi!
> 
> Thanks again for the help! the year 2000 was us playing with dates to see
> if we can learn about out issue. We are getting this error:
> 
> Improperly nested variable; %{integer:reply:WISPr-Session-Terminate-Time}}
> rlm_expr: xlat failed.

  You didn't use what I suggested.

  Again:

>>  OK, i't sprinting the session terminate time as a full date string.  You
>> can fix that by using:
>> 
>>        %{expr:%{%{integer:reply:WISPr-Session-Terminate-Time}} - %l}
>> 
>>  Which will print it as an integer.

  Alan DeKok.



More information about the Freeradius-Users mailing list