Skip to main content
Emitted when the SDK begins establishing a WebSocket connection to the SIP server.

Category

Connection

Callback Parameters

None.

Example

client.on('connecting', () => {
  console.log('Connecting to SIP server...');
});

More Information

  • connected — fires when the WebSocket connection is established
  • registered — fires when SIP registration succeeds
  • connect — the method that initiates the connection