acct_users file: DEFAULT Acct-Status-Type = Stop Exec-Program = "/home/billing/bill %{Acct-Session-Id}"
You can't use radacctid as that is autogenerated by the database server and is not part of the accouning request. Ivan Kalik Kalik Informatika ISP Dana 14/6/2008, "Pete Kay" <[EMAIL PROTECTED]> piše: >Hi, > >I tried to execute a billing script as follows: > >accounting{ > > sql > > exec /etc/billing/bill >} > >But, I am getting: > >/usr/local/etc/raddb/sites-enabled/default[350]: Expecting section start >brace '{' after "exec /home/billing/bill" >Errors reading /usr/local/etc/raddb/radiusd.conf > >What is wrong with my syntax? Is there any sample that I can refer to? > >I checked the unlan, but I could not find anything that mentions the >variable that I can use to pass to the script. What I like to do is to call >the script: exec /etc/billing/bill <radacctid> > >That way, I can know which line to process. > >Thanks for any suggestion. > >Regards, >Pete > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html