[sr-dev] TLS: Sip-Routers adds a Record-Route with "sip" scheme rather than "sips"

Iñaki Baz Castillo ibc at aliax.net
Tue Jul 5 15:03:30 CEST 2011


Hi, when sip-router (master branch) receives a request via TLS (but
with a "sip:" scheme URI in the Request Line) and routes the request
using other transport (as UDP) it appends a Record-Route as follows:

  Record-Route: <sip:IP_PROXY:PORT;transport=tls>

According to RFC 3261 and RFC 5630 (which explains better sips schema
usage) the correct Record-Route should be:

  Record-Route: <sips:IP_PROXY:PORT>
or:
  Record-Route: <sips:IP_PROXY:PORT;transport=tcp>

However Sip-Router behaves a bit deprecated by using ;transport=tls,
which is clearly deprecated even in RFC 3261.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list