Remove transport=tls in registrar URI

RFC3261 deprecated this attribute:
    [...] The use of "transport=tls" has consequently been
    deprecated, partly because it was specific to a single hop
    of the request. [...]

Closes #2
sip-call-params
Ingo Bauersachs 10 years ago
parent aeaa22c761
commit 46cf28ef04

@ -1288,8 +1288,11 @@ public SipURI getRegistrarURI()
if(registrarPort != ListeningPoint.PORT_5060)
registrarURI.setPort(registrarPort);
if(!registrationTransport.equals(ListeningPoint.UDP))
if(!registrationTransport.equals(ListeningPoint.UDP)
&& !registrationTransport.equals(ListeningPoint.TLS))
{
registrarURI.setTransportParam(registrationTransport);
}
}
return registrarURI;
}

Loading…
Cancel
Save