/
Phone API Reference - Core - digium.event

Phone API Reference - Core - digium.event

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

Used to create applications that register event listeners by calling digium.event.observe() and specifying one of the event names as the eventName parameter. Also used to trigger an event with digium.event.fire() and to remove callbacks for an event with digium.event.stopObserving().

 

Methods

Name 

Description 

Name 

Description 

digium.event.fire

Fire an event of the given eventName and pass your eventData onto any callback that may be observing the event. Note: the list of Digium eventNames cannot be fired except by the system.

digium.event.observe

Set a callback function to be fired when the request eventName fires. 

digium.event.stopObserving

Used to remove callbacks for an event. If callback is not passed in (which is a reference to the original observed callback), then all observed events are removed for the specified eventName.

Related content

Phone API Reference - Core - digium.event.stopObserving
Phone API Reference - Core - digium.event.stopObserving
More like this
Phone API Reference - Core - digium.event.fire
Phone API Reference - Core - digium.event.fire
More like this
Phone API Reference - Core - digium.event.observe
Phone API Reference - Core - digium.event.observe
More like this
Phone API Reference - Core - digium.event - List of Event Types
Phone API Reference - Core - digium.event - List of Event Types
More like this
Phone API Reference - Core - digium.phone.observeCallEvents
Phone API Reference - Core - digium.phone.observeCallEvents
More like this
Phone API Reference - Core - digium.phone
Phone API Reference - Core - digium.phone
More like this

Return to Documentation Home I Return to Sangoma Support