Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Call handling.

Methods

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.

...