code: public boolean isLocalSipURI(SipURI uri) {
  		checkState();
  		// XXX: InetAddress api is
  		// crude.....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  		ListeningPoint lp = this.provider.getListeningPoint(uri
  				.getTransportParam());
  		if (lp != null && lp.getIPAddress().equals(uri.getHost())
  				&& lp.getPort() == uri.getPort()) {
  			return true;
  		} else {
  			if (tracer.isFineEnabled()) {
  				tracer.fine("Passed uri not local? Passed URI[" + uri
  						+ "] doesnt match lp[" + lp + "]");
  			}
  
  			return false;
  		}
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.java.slee.resource.sip.SleeSipProvider#isLocalSipURI(javax.sip.address
  .SipURI)