connect
connect
- connect(
params):Promise<Call>- See Call for more details.
Attempt to connect an existing call to a new outbound call. The two devices will hear each other. You can wait until the new peer is disconnected by calling disconnected.
This is a generic method that allows you to connect to multiple devices in series, parallel, or combinations of both with the use of a DeviceBuilder. For simpler use cases, prefer using connectPhone or connectSip.
Parameters
Returns
Promise<Call> - See Call for more details.
A promise that resolves to a Call object that you can use to control the new peer. The promise resolves only after the new peer picks up the call.
Examples
Connecting to a new SIP call.
Connecting to a new SIP call, while playing ringback audio.