Call
A Call object represents an active call. You can get instances of a Call object from a Voice.Client, by answering or initiating calls.
Examples
In this example, we are dialing a phone number and playing a TTS message.
In this example, we are answering an incoming call, playing a TTS message and then hanging up.
Properties
device
The device configuration for this call.
direction
Whether you are making or receiving the call.
from
The phone number that the call is coming from.
headers
Optional SIP headers for this call. See SipHeader.
id
Unique ID for this voice call.
state
The current state of the call.
to
The phone number you are attempting to call.
type
The type of call. Only phone and sip are currently supported.