RFC3261: SIP:8.1.1.6最大转发

8.1.1.6 Max-Forwards
8.1.1.6最大转发

   The Max-Forwards header field serves to limit the number of hops a request can transit on the way to its destination.  It consists of an integer that is decremented by one at each hop.  If the Max-Forwards value reaches 0 before the request reaches its destination, it will be rejected with a 483(Too Many Hops) error response.

最大转发头字段用于限制请求在到达目的地的途中可以传输的跃点数。它由一个整数组成,每个跃点递减一。如果在请求到达目的地之前,最大转发值达到0,则会被483(跳数过多)错误响应拒绝。

   A UAC MUST insert a Max-Forwards header field into each request it originates with a value that SHOULD be 70.  This number was chosen to be sufficiently large to guarantee that a request would not be dropped in any SIP network when there were no loops, but not so large as to consume proxy resources when a loop does occur.  Lower values should be used with caution and only in networks where topologies are known by the UA.

UAC必须在其发起的每个请求中插入一个最大转发报头字段,该字段的值应为70。这个数字被选择为足够大,以保证当没有跃点时,请求不会在任何SIP网络中被丢弃,但不会大到当环路确实发生时消耗代理资源。应谨慎使用较低的值,并且仅在UA已知拓扑的网络中使用。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值