RFC3261: SIP:8.1.1.1请求URI

8.1.1.1 Request-URI
8.1.1.1请求URI

   The initial Request-URI of the message SHOULD be set to the value of the URI in the To field.  One notable exception is the REGISTER method; behavior for setting the Request-URI of REGISTER is given in  Section 10.  It may also be undesirable for privacy reasons or convenience to set these fields to the same value (especially if the originating UA expects that the Request-URI will be changed during transit).

​消息的初始请求URI应设置为“To”字段中的URI值。一个值得注意的例外是REGISTER方法;第10节给出了设置REGISTER的请求URI的行为。出于隐私或方便的原因,将这些字段设置为相同的值也可能是不可取的(特别是如果始发UA期望在传输过程中更改请求URI)。

   In some special circumstances, the presence of a pre-existing route set can affect the Request-URI of the message.  A pre-existing route set is an ordered set of URIs that identify a chain of servers, to which a UAC will send outgoing requests that are outside of a dialog. Commonly, they are configured on the UA by a user or service provider manually, or through some other non-SIP mechanism.  When a provider wishes to configure a UA with an outbound proxy, it is RECOMMENDED that this be done by providing it with a pre-existing route set with a single URI, that of the outbound proxy.

在某些特殊情况下,预先存在的路由集可能会影响消息的请求URI。预先存在的路由集是一组有序的URI,用于标识服务器链,UAC将向其发送对话之外的传出请求。通常,它们由用户或服务提供商手动或通过一些其他非SIP机制在UA上配置。当提供者希望为UA配置出站代理时,建议通过向其提供具有单个URI的预先存在的路由集(即出站代理的URI)来完成此操作。

   When a pre-existing route set is present, the procedures for populating the Request-URI and Route header field detailed in Section 12.2.1.1 MUST be followed (even though there is no dialog), using the desired Request-URI as the remote target URI.

当存在预先存在的路由集时,必须遵循第12.2.1.1节中详细说明的填充请求URI和路由报头字段的程序(即使没有对话),使用所需的请求URI作为远程目标URI。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值