Hi,

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?

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.

Regards,
Pete

On Sat, May 24, 2008 at 11:11 PM, Alan DeKok <[EMAIL PROTECTED]>
wrote:

> 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
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to