On 3 Mar 2013, at 11:32, Mehdi Ravanbakhsh <[email protected]> wrote:
> Hello everyone
>
> I need to update some check and replay attribute in database when get stop
> in accounting and the session is finish
>
> i need to know in which section of virtual server file (
> sites-enabled/default) i need to put unlang script (and/or perl script) ?
>
> and
>
> how i can check in script if accounting get stop packet , .
preacct {
if (Acct-Status-Type == 'Stop') {
<read some radacct fild of that session to do some calculate
and do some query in database in radcheck and radreplay>
}
}
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html