Topic: Anyone using event hooks? [Comments: 6]
cbbs70a

Fri, 02/06/2009 - 12:31 | Anyone using event hooks?

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

olekaas

Tue, 02/10/2009 - 11:00 | Provisioning

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

thirdlane

Thu, 02/12/2009 - 18:32 | 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.

Alex Epshteyn
Third Lane Technologies
Multi-tenant Asterisk PBX

moshe

Fri, 04/16/2010 - 12:03 | 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

eeman

Fri, 04/16/2010 - 20:22 | theres only event hooks for

theres only event hooks for tenants and extensions not anything else.

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com

moshe

Fri, 04/16/2010 - 20:31 | Ok And where could I read

Ok

And where could I read some how to's

eeman

Sat, 04/17/2010 - 02:38 | 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.

Erik Smith
CTO
BluegrassNet Voice
dCAP
Thirdlane Support by BluegrassNet Voice
eeman at bluegrassnetvoice dot com