Phone API Reference - Core - digium.phone

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.phone

Call handling.

 

Methods

Name 

Description 

Name 

Description 

digium.phone.answer

Answers an incoming call.

digium.phone.dial

Initiates a call. This function returns a call handle, which is a string identifying the call. It can be used in various other methods such as digium.phone.hangup().

digium.phone.hangup

Hangs up on an ongoing call.

digium.phone.observeCallEvents

Attaches handlers to ongoing-call status changes. Useful if you were unable to attach a handler when the call was created.

digium.phone.reject

Ignores (rejects) an incoming call before it is answered.

digium.phone.sendDTMF

Sends DTMF tones in an ongoing call.

digium.phone.transfer

Transfers an active call to another extension. This is a blind transfer, meaning the transferor does not talk to the transferee.

 

Return to Documentation Home I Return to Sangoma Support