Get Stop in accounting do some action
Mehdi Ravanbakhsh
babakco at gmail.com
Sun Mar 3 21:00:07 CET 2013
Dear Arran
many thanks for your help
*i have another question : who can i access to Acctuniqueid of the record
in this unlang script and in Perl script ?*
*
*
*
*
*
*
* *
On Sun, Mar 3, 2013 at 8:30 PM, Arran Cudbard-Bell <
a.cudbardb at freeradius.org> wrote:
>
> On 3 Mar 2013, at 11:32, Mehdi Ravanbakhsh <babakco at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130303/031197f6/attachment.html>
More information about the Freeradius-Users
mailing list