Phone API Reference - Core - digium.event.observe
Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70
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.
Â