Hi,<br><br>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?  <br>
<br>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. <br><br>Thanks alot for all your great help.<br><br>Regards,<br>
Pete<br><br><div class="gmail_quote">On Sat, May 24, 2008 at 11:11 PM, Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Pete Kay wrote:<br>
> I have a question about triggering my custom billing engine after<br>
> accounting info is stored in the DB.  Does FreeRadius has any event<br>
> mechanism or somewhere that I can embed a script to trigger my billing<br>
> calculation?<br>
<br>
</div>  In 2.0.4, see "man unlang".<br>
<br>
  You can execute any program via the "exec" module, or via using `foo`,<br>
just like a shell script.<br>
<font color="#888888"><br>
  Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></blockquote></div><br>