dialSip

abstract fun dialSip(sipUri: String): Call

Dials a SIP endpoint, placing an audio call routed through the Sinch Voice V2 platform.

Return

A Call instance.

Parameters

sipUri

SIP URI of the destination, for example sip:alice@example.com.

Throws

If a permission required to place the call is missing.


abstract fun dialSip(sipUri: String, options: DialSipOptions): Call

Dials a SIP endpoint, placing an audio call routed through the Sinch Voice V2 platform.

Return

A Call instance.

Parameters

sipUri

SIP URI of the destination, for example sip:alice@example.com.

options

SIP destination and Voice V2 service options.

Throws

If sipUri is empty, more than 16 call headers are given, a header key is not a valid SIP header name or is longer than 255 characters, or a header value is longer than 255 characters.

If a permission required to place the call is missing.