Triggering of billing engine post-acc

Alan DeKok aland at deployingradius.com
Sun May 25 17:00:01 CEST 2008


Pete Kay wrote:
> In the sites-enabled/default file, there is a post-auth section that I
> can put exec on, but what if I want to run the script only if there is a
> new recording being added during accounting, something like post-acc, is
> it possible? 

  You can run it during the "accounting" section.

> Is it possible to post variable to the script being called.  That way, I
> an pass the ID field, so the billing engine knows which entry in the DB
> table to handle.

  Yes.  See "man unlang".  You can pass command-line options to the script.

  Alan DeKok.



More information about the Freeradius-Users mailing list