Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Connects to the SIP server and registers the client. This method fetches the SIP configuration from the endpoint URL, validates the widget is active, initializes the SIP user agent, and waits for both WebSocket connection and SIP registration to complete (with a 15-second timeout). This must be called before startCall().
An error if the client has been destroyed, the configuration fetch fails, the Click To Call widget is not active, or the SIP connection or registration fails (15-second timeout).