Interface Sip
- All Superinterfaces:
CallDestination
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDedicated Builderstatic classGets or Sets transport -
Method Summary
Modifier and TypeMethodDescriptionstatic Sip.Builderbuilder()Getting builderCustom SIP headers to be sent in the call setup.SIP URI of the destination endpoint.Transport protocol to use for the SIP signalling channel.
-
Method Details
-
getEndpoint
String getEndpoint()SIP URI of the destination endpoint. Bothsip:(unencrypted) andsips:(TLS-encrypted) schemes are supported.Field is required
- Returns:
- endpoint
-
getTransport
Sip.TransportEnum getTransport()Transport protocol to use for the SIP signalling channel.If omitted, the platform selects a default based on the URI scheme:
UDPforsip:andTLSforsips:. Setting this explicitly overrides that default — for example, to forceTCPfor asip:URI or to useTLSwithout switching to thesips:scheme.- Returns:
- transport
-
getCallHeaders
List<SipCallHeader> getCallHeaders()Custom SIP headers to be sent in the call setup.- Returns:
- callHeaders
-
builder
Getting builder- Returns:
- New Builder instance
-