SinchDialSipOptions

public struct SinchDialSipOptions

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

Warning

Beta API. It is functional, but its signature or behaviour may change in a future release without going through the usual deprecation cycle.
  • SIP transport protocol used to establish the outbound SIP leg.

    See more

    Declaration

    Swift

    public enum Transport
  • Voice V2 service ID to use for the dial. If nil, the project’s default service is used.

    Declaration

    Swift

    public var serviceId: String?
  • SIP transport protocol. If nil, the Voice V2 platform selects the transport.

    Declaration

    Swift

    public var transport: Transport?
  • String key-value pairs to pass with the call. 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. The call will fail immediately in case of invalid headers.

    Declaration

    Swift

    public var callHeaders: [String : Any]?
  • Undocumented

    Declaration

    Swift

    public init(serviceId: String? = nil, transport: Transport? = nil, callHeaders: [String : Any]? = nil)