Edit

Share via


SipEndpoint Constructors

Definition

Overloads

SipEndpoint(String, RealTimeConnectionManager, SipEndpointSettings)

Initializes a new instance of the SipEndpoint class.

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String)

Creates a new instance of SipEndpoint. This endpoint is server-based. By default, the platform will use port 5060 for TCP and 5061 for TLS. To use a port other than these, the caller should set the port property before trying to register.

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String, Int32, Boolean, RealTimeConnectionManager, String)

Creates a new instance of SipEndpoint. This endpoint is server-based.

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String, Int32, Boolean, RealTimeConnectionManager, String, IEnumerable<SignalingHeader>)

Creates a new instance of SipEndpoint. This endpoint is server-based.

SipEndpoint(String, RealTimeConnectionManager, SipEndpointSettings)

Initializes a new instance of the SipEndpoint class.

public:
 SipEndpoint(System::String ^ ownerUri, Microsoft::Rtc::Signaling::RealTimeConnectionManager ^ connectionManager, Microsoft::Rtc::Signaling::SipEndpointSettings ^ settings);
public SipEndpoint (string ownerUri, Microsoft.Rtc.Signaling.RealTimeConnectionManager connectionManager, Microsoft.Rtc.Signaling.SipEndpointSettings settings);
new Microsoft.Rtc.Signaling.SipEndpoint : string * Microsoft.Rtc.Signaling.RealTimeConnectionManager * Microsoft.Rtc.Signaling.SipEndpointSettings -> Microsoft.Rtc.Signaling.SipEndpoint
Public Sub New (ownerUri As String, connectionManager As RealTimeConnectionManager, settings As SipEndpointSettings)

Parameters

ownerUri
String

The URI for this endpoint. This should not include port. Port will be automatically added depending on the listening port, if any.

connectionManager
RealTimeConnectionManager

The connection manager to use for this endpoint.

settings
SipEndpointSettings

Additional settings to configure the endpoint or null.

Applies to

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String)

Creates a new instance of SipEndpoint. This endpoint is server-based. By default, the platform will use port 5060 for TCP and 5061 for TLS. To use a port other than these, the caller should set the port property before trying to register.

public:
 SipEndpoint(System::String ^ ownerUri, Microsoft::Rtc::Signaling::SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft::Rtc::Signaling::SipTransportType transportType, System::String ^ serverName);
public SipEndpoint (string ownerUri, Microsoft.Rtc.Signaling.SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft.Rtc.Signaling.SipTransportType transportType, string serverName);
new Microsoft.Rtc.Signaling.SipEndpoint : string * Microsoft.Rtc.Signaling.SipAuthenticationProtocols * Microsoft.Rtc.Signaling.SipTransportType * string -> Microsoft.Rtc.Signaling.SipEndpoint
Public Sub New (ownerUri As String, allowedAuthenticationProtocols As SipAuthenticationProtocols, transportType As SipTransportType, serverName As String)

Parameters

ownerUri
String

The URI of the user identifying the endpoint.

allowedAuthenticationProtocols
SipAuthenticationProtocols

The authentication protocols to be used for the server specified.

transportType
SipTransportType

The type of transport to be used to connect to the server.

serverName
String

The name of the server to be used.

Exceptions

Thrown when one of the arguments is not valid.

Applies to

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String, Int32, Boolean, RealTimeConnectionManager, String)

Creates a new instance of SipEndpoint. This endpoint is server-based.

public:
 SipEndpoint(System::String ^ ownerUri, Microsoft::Rtc::Signaling::SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft::Rtc::Signaling::SipTransportType transportType, System::String ^ serverName, int serverPort, bool allowNoAuthentication, Microsoft::Rtc::Signaling::RealTimeConnectionManager ^ connectionManager, System::String ^ endpointId);
public SipEndpoint (string ownerUri, Microsoft.Rtc.Signaling.SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft.Rtc.Signaling.SipTransportType transportType, string serverName, int serverPort, bool allowNoAuthentication, Microsoft.Rtc.Signaling.RealTimeConnectionManager connectionManager, string endpointId);
new Microsoft.Rtc.Signaling.SipEndpoint : string * Microsoft.Rtc.Signaling.SipAuthenticationProtocols * Microsoft.Rtc.Signaling.SipTransportType * string * int * bool * Microsoft.Rtc.Signaling.RealTimeConnectionManager * string -> Microsoft.Rtc.Signaling.SipEndpoint
Public Sub New (ownerUri As String, allowedAuthenticationProtocols As SipAuthenticationProtocols, transportType As SipTransportType, serverName As String, serverPort As Integer, allowNoAuthentication As Boolean, connectionManager As RealTimeConnectionManager, endpointId As String)

Parameters

ownerUri
String

The URI of the user identifying the endpoint.

allowedAuthenticationProtocols
SipAuthenticationProtocols

The authentication protocols to be used for the server specified.

transportType
SipTransportType

The type of transport to be used to connect to the server.

serverName
String

The name of the server to be used.

serverPort
Int32

The port to be used to connect to the server. User 0 to use default.

allowNoAuthentication
Boolean

Indicates whether the client allows communicating with a server that does not challenge messages from this client. Most applications should pass false.

connectionManager
RealTimeConnectionManager

The connection manager to be used for this endpoint.

endpointId
String

The epid to use. Can be null.

Exceptions

Thrown when one of the arguments is not valid.

Applies to

SipEndpoint(String, SipAuthenticationProtocols, SipTransportType, String, Int32, Boolean, RealTimeConnectionManager, String, IEnumerable<SignalingHeader>)

Creates a new instance of SipEndpoint. This endpoint is server-based.

public:
 SipEndpoint(System::String ^ ownerUri, Microsoft::Rtc::Signaling::SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft::Rtc::Signaling::SipTransportType transportType, System::String ^ serverName, int serverPort, bool allowNoAuthentication, Microsoft::Rtc::Signaling::RealTimeConnectionManager ^ connectionManager, System::String ^ endpointId, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ additionalHeaders);
public SipEndpoint (string ownerUri, Microsoft.Rtc.Signaling.SipAuthenticationProtocols allowedAuthenticationProtocols, Microsoft.Rtc.Signaling.SipTransportType transportType, string serverName, int serverPort, bool allowNoAuthentication, Microsoft.Rtc.Signaling.RealTimeConnectionManager connectionManager, string endpointId, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> additionalHeaders);
new Microsoft.Rtc.Signaling.SipEndpoint : string * Microsoft.Rtc.Signaling.SipAuthenticationProtocols * Microsoft.Rtc.Signaling.SipTransportType * string * int * bool * Microsoft.Rtc.Signaling.RealTimeConnectionManager * string * seq<Microsoft.Rtc.Signaling.SignalingHeader> -> Microsoft.Rtc.Signaling.SipEndpoint
Public Sub New (ownerUri As String, allowedAuthenticationProtocols As SipAuthenticationProtocols, transportType As SipTransportType, serverName As String, serverPort As Integer, allowNoAuthentication As Boolean, connectionManager As RealTimeConnectionManager, endpointId As String, additionalHeaders As IEnumerable(Of SignalingHeader))

Parameters

ownerUri
String

The URI of the user identifying the endpoint.

allowedAuthenticationProtocols
SipAuthenticationProtocols

The authentication protocols to be used for the server specified.

transportType
SipTransportType

The type of transport to be used to connect to the server.

serverName
String

The name of the server to be used.

serverPort
Int32

The port to be used to connect to the server. User 0 to use default.

allowNoAuthentication
Boolean

Indicates whether the client allows communicating with a server that does not challenge messages from this client. Most applications should pass false.

connectionManager
RealTimeConnectionManager

The connection manager to be used for this endpoint.

endpointId
String

The epid to use. Can be null.

additionalHeaders
IEnumerable<SignalingHeader>

Additional headers to put on every SIP message sent from this endpoint.

Exceptions

Thrown when one of the arguments is not valid.

Applies to