startCall().
Signature
Parameters
None.Returns
Promise<void>
Throws
An error if the client has been destroyed, the configuration fetch fails, the Click To Call widget isn’t active, or the SIP connection or registration fails. Except forClient has been destroyed, the error messages start with Failed to connect:.
Example
If you call
connect() a second time, the SDK initializes a new SIP user agent. If you don’t provide a userId, the SDK generates one.