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中不存在用于表示建议的到期时间的机制,则客户端指示其希望服务器进行选择。