RFC3261: SIP:10.2.1.1设置联系人地址的过期间隔

10.2.1.1 Setting the Expiration Interval of Contact Addresses
10.2.1.1设置联系人地址的过期间隔

   When a client sends a REGISTER request, it MAY suggest an expiration interval that indicates how long the client would like the registration to be valid.  (As described in Section 10.3, the registrar selects the actual time interval based on its local policy.)

​当客户端发送REGISTER请求时,它可能会建议一个到期间隔,指示客户端希望注册有效的时间。(如第10.3节所述,注册商根据其本地策略选择实际时间间隔。)

   There are two ways in which a client can suggest an expiration interval for a binding: through an Expires header field or an "expires" Contact header parameter.  The latter allows expiration intervals to be suggested on a per-binding basis when more than one binding is given in a single REGISTER request, whereas the former suggests an expiration interval for all Contact header field values that do not contain the "expires" parameter.

客户端可以通过两种方式建议绑定的过期间隔:通过Expires报头字段或“Expires”Contact报头参数。后者允许在单个REGISTER请求中给定多个绑定时,在每个绑定的基础上建议过期间隔,而前者建议不包含“expires”参数的所有Contact报头字段值的过期间隔。

   If neither mechanism for expressing a suggested expiration time is present in a REGISTER, the client is indicating its desire for the server to choose.

如果REGISTER中不存在用于表示建议的到期时间的机制,则客户端指示其希望服务器进行选择。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值