Triggering of billing engine post-acc

Pete Kay petedao at
Sat May 24 17:35:44 CEST 2008


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

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.

Thanks alot for all your great help.


On Sat, May 24, 2008 at 11:11 PM, Alan DeKok <aland at>

> Pete Kay wrote:
> > I have a question about triggering my custom billing engine after
> > accounting info is stored in the DB.  Does FreeRadius has any event
> > mechanism or somewhere that I can embed a script to trigger my billing
> > calculation?
>   In 2.0.4, see "man unlang".
>  You can execute any program via the "exec" module, or via using `foo`,
> just like a shell script.
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list