DialSipOptions

data class DialSipOptions @JvmOverloads constructor(val serviceId: String? = null, val transport: DialSipTransport? = null, val callHeaders: Map<String, String>? = null)

Options for dialing a SIP endpoint through the Sinch Voice V2 platform.

Parameters

serviceId

Voice V2 service ID to use for the dial. If null, the project's default service is used.

transport

SIP transport protocol. If null, the Voice V2 platform selects the transport.

callHeaders

Custom headers included in the destination call setup. If null, no custom headers are included. At most 16 headers; each key must be a valid SIP header name (letters, digits and the characters `-.!%*_+`'~`) of at most 255 characters, and each value at most 255 characters.

Constructors

Link copied to clipboard
constructor(serviceId: String? = null, transport: DialSipTransport? = null, callHeaders: Map<String, String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard