org.mobicents.servlet.sip.core
Class DNSAddressResolver
java.lang.Object
org.mobicents.servlet.sip.core.DNSAddressResolver
- All Implemented Interfaces:
- gov.nist.core.net.AddressResolver
public class DNSAddressResolver
- extends java.lang.Object
- implements gov.nist.core.net.AddressResolver
The Address resolver to resolve proxy domain to a hop to the outbound proxy server
by doing SRV lookup of the host of the Hop as mandated by rfc3263.
some of the rfc3263 can hardly be implemented and NAPTR query can hardly be done
since the stack populate port and transport automatically.
- Author:
- M. Ranganathan, J. Deruelle
|
Method Summary |
javax.sip.address.Hop |
resolveAddress(javax.sip.address.Hop hop)
|
protected javax.sip.address.Hop |
resolveHostByDnsSrvLookup(javax.sip.address.Hop hop)
Resolve the Host by doing a SRV lookup on it |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNSAddressResolver
public DNSAddressResolver(SipApplicationDispatcher sipApplicationDispatcher)
- Parameters:
sipApplicationDispatcherImpl -
resolveAddress
public javax.sip.address.Hop resolveAddress(javax.sip.address.Hop hop)
- Specified by:
resolveAddress in interface gov.nist.core.net.AddressResolver
resolveHostByDnsSrvLookup
protected javax.sip.address.Hop resolveHostByDnsSrvLookup(javax.sip.address.Hop hop)
- Resolve the Host by doing a SRV lookup on it
- Parameters:
host - the hostport - the porttransport - the transport
- Returns:
Copyright © 2009. All Rights Reserved.