Calling
Relay.Calling
This represents the API interface for the Calling Relay Service. This object is used to make requests related to managing end to end calls.
Methods
dial
Make an outbound Call and waits until it has been answered or hung up.
Parameters
Returns
Promise<Relay.Calling.DialResult> - Promise that will be fulfilled with a Relay.Calling.DialResult object.
Examples
Make an outbound Call and grab the call object if it was answered.
Make an outbound Call to a SIP endpoint.
Dial a SIP endpoint with custom headers.
newCall
Create a new Call object. The call has not started yet allowing you to attach event listeners on it.
Parameters
See dial for the parameter list.
Returns
Call - A new Relay.Calling.Call object.