C# 클래스 SIPSorcery.SIP.App.SIPDNSManager

1. If transport parameter is specified it takes precedence, 2. If no transport parameter and target is an IP address then sip should use udp and sips tcp, 3. If no transport parameter and target is a host name with an explicit port then sip should use udp and sips tcp and host should be resolved using an A or AAAA record DNS lookup (section 4.2), 4. If no transport protocol and no explicit port and target is a host name then the client should no an NAPTR lookup and utilise records for services SIP+D2U, SIP+D2T, SIP+D2S, SIPS+D2T and SIPS+D2S, 5. If NAPTR record(s) are found select the desired transport and lookup the SRV record, 6. If no NAPT records are found lookup SRV record for desired protocol _sip._udp, _sip._tcp, _sips._tcp, _sip._tls, 7. If no SRV records found lookup A or AAAA record. Observations from the field. - A DNS server has been observed to not respond at all to NAPTR or SRV record queries meaning lookups for them will permanently time out.
파일 보기 프로젝트 열기: sipsorcery/sipsorcery

공개 프로퍼티들

프로퍼티 타입 설명
SIPMonitorLogEvent SIPMonitorLogDelegate

공개 메소드들

메소드 설명
DNSARecordLookup ( SIPSorcery.SIP.App.SIPDNSServiceResult nextSRVRecord, string host, int port, bool async, SIPURI lookupURI ) : SIPSorcery.SIP.App.SIPDNSLookupResult
DNSARecordLookup ( string host, int port, bool async, SIPURI uri ) : SIPSorcery.SIP.App.SIPDNSLookupResult
DNSNAPTRRecordLookup ( string host, bool async, SIPSorcery.SIP.App.SIPDNSLookupResult &lookupResult ) : void
DNSSRVRecordLookup ( SIPSchemesEnum scheme, SIPProtocolsEnum protocol, string host, bool async, SIPSorcery.SIP.App.SIPDNSLookupResult &lookupResult ) : void
ResolveSIPService ( SIPURI sipURI, bool async ) : SIPSorcery.SIP.App.SIPDNSLookupResult
ResolveSIPService ( string host ) : SIPSorcery.SIP.App.SIPDNSLookupResult

비공개 메소드들

메소드 설명
SIPDNSManager ( ) : System

메소드 상세

DNSARecordLookup() 공개 정적인 메소드

public static DNSARecordLookup ( SIPSorcery.SIP.App.SIPDNSServiceResult nextSRVRecord, string host, int port, bool async, SIPURI lookupURI ) : SIPSorcery.SIP.App.SIPDNSLookupResult
nextSRVRecord SIPSorcery.SIP.App.SIPDNSServiceResult
host string
port int
async bool
lookupURI SIPURI
리턴 SIPSorcery.SIP.App.SIPDNSLookupResult

DNSARecordLookup() 공개 정적인 메소드

public static DNSARecordLookup ( string host, int port, bool async, SIPURI uri ) : SIPSorcery.SIP.App.SIPDNSLookupResult
host string
port int
async bool
uri SIPURI
리턴 SIPSorcery.SIP.App.SIPDNSLookupResult

DNSNAPTRRecordLookup() 공개 정적인 메소드

public static DNSNAPTRRecordLookup ( string host, bool async, SIPSorcery.SIP.App.SIPDNSLookupResult &lookupResult ) : void
host string
async bool
lookupResult SIPSorcery.SIP.App.SIPDNSLookupResult
리턴 void

DNSSRVRecordLookup() 공개 정적인 메소드

public static DNSSRVRecordLookup ( SIPSchemesEnum scheme, SIPProtocolsEnum protocol, string host, bool async, SIPSorcery.SIP.App.SIPDNSLookupResult &lookupResult ) : void
scheme SIPSchemesEnum
protocol SIPProtocolsEnum
host string
async bool
lookupResult SIPSorcery.SIP.App.SIPDNSLookupResult
리턴 void

ResolveSIPService() 공개 정적인 메소드

public static ResolveSIPService ( SIPURI sipURI, bool async ) : SIPSorcery.SIP.App.SIPDNSLookupResult
sipURI SIPURI
async bool
리턴 SIPSorcery.SIP.App.SIPDNSLookupResult

ResolveSIPService() 공개 정적인 메소드

public static ResolveSIPService ( string host ) : SIPSorcery.SIP.App.SIPDNSLookupResult
host string
리턴 SIPSorcery.SIP.App.SIPDNSLookupResult

프로퍼티 상세

SIPMonitorLogEvent 공개적으로 정적으로 프로퍼티

public static SIPMonitorLogDelegate SIPMonitorLogEvent
리턴 SIPMonitorLogDelegate