25 May
2008
25 May
'08
11 a.m.
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.