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 SourceGetService(String)
Declaration
public static SIPServicesEnum GetService(string service)
Parameters
Type | Name | Description |
---|---|---|
System.String | service |
Returns
Type | Description |
---|---|
SIPServicesEnum |
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. |