[EMAIL PROTECTED] wrote:
>> Consider the following flow: (mf=max-forwards)
>>
>>
>> UA-A --- INVITE (mf=2) ---> Proxy-A ---- INVITE (mf=1) ---> 
>> Proxy-B ---- INVITE (mf=0) ---> UA-B
>>
>>
>> In the flow above, should Proxy-B forward the INVITE with 
>> max-forwards=0 to UA-B or should it reject the request with 483?
>>     

Section "8.1.1.6 Max-Forwards" :
"""
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.
"""
plus
section "16.3 Request Validation" (for Proxy behavior before proxying a
request):
"""
If the request contains a Max-Forwards header field with a field
      value of zero (0), the element MUST NOT forward the request.  If
      the request was for OPTIONS, the element MAY act as the final
      recipient and respond per Section 11.  Otherwise, the element MUST
      return a 483 (Too many hops) response.
"""

As Proxy-B decrements the mf to 0, with the INVITE not reaching the
destination, it must answer itself.

Hth,
Bogdan.

>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
>   

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to