我正在阅读SIP RFC 3261。我不明白 sip uri 和 sips uri 之间的区别。有人可以帮忙吗?
rfc3261的第一个注释:
The format for a SIPS URI is the same, except that the scheme is
"sips" instead of sip.
第二个注意事项,我想您的问题可以在第 26.2.2 节(SIPS URI 方案)中找到,即:它表示需要保护所有跃点,最常见的是通过 TLS 链接。
When used as the Request-URI of a
request, the SIPS scheme signifies that each hop over which the
request is forwarded, until the request reaches the SIP entity
responsible for the domain portion of the Request-URI, must be
secured with TLS; once it reaches the domain in question it is
handled in accordance with local security and routing policy, quite
possibly using TLS for any last hop to a UAS. When used by the
originator of a request (as would be the case if they employed a SIPS
URI as the address-of-record of the target), SIPS dictates that the
entire request path to the target domain be so secured.
当 sips 出现在"收件人"或"发件人"标头中时,其他规则适用。例如,当 sips 出现在 To 标头中时,它表示"希望"使用安全链接。在请求 URI 中使用时,它是必须的。
使用 sips时,您可能还需要在联系人标头中使用 sips。sips URI 最终将在 Request-URI 中用于对话框中的其他请求,因此您必须关心在联系人标头中使用正确的 sip/sips。