Phone API Reference - Core - digium.event.observe
digium.event.observe
Description
Set a callback function to be fired when the request eventName fires.
Basic Example:
digium.event.observe(parameters); |
Parameters
Name | Required | Type | Default | Description |
---|---|---|---|---|
eventName | Yes | string | String that identifies the event type. Event type can either be from this list if you are using digium.event.observe, or from your own list if you're using digium.event.fire to fire your own event. | |
callback | No | object | Called when an event arrives and contains an Object with the following:
|
A full list of system eventNames can be found here.