Show / Hide Table of Contents

Class SIPServices

Inheritance
System.Object
SIPServices
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class SIPServices

Methods

| Improve this Doc View Source

GetService(String)

Declaration
public static SIPServicesEnum GetService(string service)
Parameters
Type Name Description
System.String service
Returns
Type Description
SIPServicesEnum
| Improve this Doc View Source

GetSRVProtocolForSIPURI(SIPURI)

This method is needed because "sips" URI's have to be looked up with a SRV record containing "tcp" NOT "tls" and same for web sockets.

Declaration
public static SIPProtocolsEnum GetSRVProtocolForSIPURI(SIPURI uri)
Parameters
Type Name Description
SIPURI uri

The SIP URI to determine the SRV record protocol for.

Returns
Type Description
SIPProtocolsEnum

The protocol to use in a SRV record lookup.

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX