throw new SipRoutingException("Malformed Contact", e);
}
URIImpl contactUri = ((URIImpl) contactAddress.getURI());
contactAddress = ((AddressImpl) contactAddress.clone(true, true));
contactUri = (URIImpl) contactUri.clone();
contactUri.encodeBeKey(hashkey);
// Allow writes on cloned Address object
contactAddress.setReadOnly(false);
contactAddress.setURI(contactUri);