Relay.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
*signalwire.DialResult - The result of the dial operation.
Examples
Make an outbound Call:
DialPhone
Make an outbound Phone Call and return when it has been answered, hung up or timed out.
Parameters
Returns
*signalwire.DialResult - The result of the dial operation.
Examples
Make an outbound Call:
NewCall
Create a new Call object. The call has not started yet allowing you to attach event listeners on it.
Parameters
See Relay.Calling.Dial for the parameter list.
Returns
*signalwire.CallObj - A new Call object.
Examples
Create a new Call object: