Has anyone had any success using event hooks that were introduced in version 68? I'm not totally clear on what their purpose is so I'm not clear on exactly how useful they are. Can anyone give an example?
Thanks
FSD
event hooks
The event hooks allow to execute an arbitrary system command - a script, a progarm - anything when the objects (extensions or tenants) are cretaed, deleted or modified.
where could i read more about
where could i read more about these scripts and how to's,
(for now) i would like to setup a event hook to receive a email notification when ever a tenant, user extension, special line or voice mail is created or deleted maybe play around more with it
thanks in advance
its just a shell script that
its just a shell script that gets executed.. theres some environment variables that get passed to the script so that you can use them in your programming.
the bash command 'printenv' will show you all the environment variables. Writing a simple script that outputs printenv to a filename will give you variable names.
I have yet to make a script that will setup ftp access for provisioning when adding a new tenant. I'm looking forward to getting it done, as I'm the one manually creating the ftp setup for each tenant. Actually I'm already using a script for this - but it needs a little work to be used with the hooks.
/Ole