Re: Get Stop in accounting do some action

2013-03-06 Thread Mehdi Ravanbakhsh
Dear Arran i see in log file that first executing preacct section and then UPDATE radacct by AcctStopTime .. if i need to change that record i need to Executing my perl script or uunlang script after database updated with AcctStopTime so do i need chnage the location of this : preacct {

Re: Get Stop in accounting do some action

2013-03-03 Thread Mehdi Ravanbakhsh
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.cudba...@freeradius.org> wrote: > > On 3 Mar 2013, at 11:32, Me

Re: Get Stop in accounting do some action

2013-03-03 Thread Arran Cudbard-Bell
On 3 Mar 2013, at 11:32, Mehdi Ravanbakhsh 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

Get Stop in accounting do some action

2013-03-03 Thread Mehdi Ravanbakhsh
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