[SR-Users] NAPTR, SRV and sips vs. transport=tls

Klaus Darilion klaus.mailinglists at pernau.at
Mon Dec 3 11:43:46 CET 2012



On 03.12.2012 10:43, Andreas Granig wrote:
> Hi Klaus,
>
> On 12/03/2012 10:15 AM, Klaus Darilion wrote:
>> The request URI should look like the one which the user enters. E.g. if
>> user enters "sip:12345 at example.com" then the request URI should be
>> "sip:12345 at example.com" - regardless of the transport protocol chosen by
>> the transport layer.
>>
>> Thus, if NAPTR records tell you to use SIP over TLS, then use SIP over
>> TLS but do not change the request URI.
>
> So how should the NAPTR record look like if you want to use TLS with a
> SIP URI? Would it still be SIPS+D2T, or could you use something like
> SIP+D2T along with a replacement part "_sip._tcp.example.com;transport=tls"?

Just use:
@     IN NAPTR 50   50  "s"  "SIPS+D2T"     ""  _sips._tcp.example.com.

I would interpret it as:

    SIPS+D2T
      |     \
      |      \
     secure + TCP --> TLS

regards
Klaus



More information about the sr-users mailing list