Iñaki Baz Castillo
2011-06-15 19:52:45 UTC
Hi, according to RFC 3261 a SIP URI should not contain ;transport=tls
as "tls" is not a valid transport (it should be "tcp" in case of TLS
over SCTP, or "sctp" in case of TLS over SCTP and so).
So the correct way is using a "sips" scheme and ;transport=tcp (or
omit ;transport param). In this case the proxy should forward the
request using TLS over TCP.
Ok, but there are legacy (and not so legacy) SIP clients that still
use ;transport=tls. So what should do a proxy if it receives a request
like the following?:
sip:alice at lalala.com;transport=tls
a) Perform _sips._tcp.lalala.com SRV query or, if it does not exist,
use port 5061, and open a TLS over TCP connection.
b) Behave as if ;transport=tcp is given, so perform
_sip._tcp.lalala.com SRV query or, if it does not exist, use port
5060, and open a TCP connection.
c) Whatever other solution.
Thanks.
as "tls" is not a valid transport (it should be "tcp" in case of TLS
over SCTP, or "sctp" in case of TLS over SCTP and so).
So the correct way is using a "sips" scheme and ;transport=tcp (or
omit ;transport param). In this case the proxy should forward the
request using TLS over TCP.
Ok, but there are legacy (and not so legacy) SIP clients that still
use ;transport=tls. So what should do a proxy if it receives a request
like the following?:
sip:alice at lalala.com;transport=tls
a) Perform _sips._tcp.lalala.com SRV query or, if it does not exist,
use port 5061, and open a TLS over TCP connection.
b) Behave as if ;transport=tcp is given, so perform
_sip._tcp.lalala.com SRV query or, if it does not exist, use port
5060, and open a TCP connection.
c) Whatever other solution.
Thanks.
--
I?aki Baz Castillo
<ibc at aliax.net>
I?aki Baz Castillo
<ibc at aliax.net>