Spared a call to getContactAddressCustomParamValue()

cusax-fix
Sebastien Mazy 17 years ago
parent 99d79397d9
commit e28b606320

@ -1027,11 +1027,12 @@ public ContactHeader getContactHeader(SipURI intendedDestination)
// set a custom param to ease incoming requests dispatching in case
// we have several registrar accounts with the same username
if (getContactAddressCustomParamValue() != null)
String paramValue = getContactAddressCustomParamValue();
if (paramValue != null)
{
contactURI.setParameter(
SipStackSharing.CONTACT_ADDRESS_CUSTOM_PARAM_NAME,
getContactAddressCustomParamValue()
paramValue
);
}

Loading…
Cancel
Save