On 5/25/12 10:26 AM, pranab sahoo wrote:
> Hi all,
>
> Thanks for providing a forum for healthy disscussion on SIP.
> I have an issue regarding MAX FORWARD
>
>
> Invite
> Max Forward=0
> A--------------------------------->B
>
> There is another user C.
> Actually my scenario is a call forwarding case,in which B going to
> forward the call.
>
> 302
> contact:c
> server<-------------------------------B
>
> Is max forward=0 has any role to discard the call and send error
> response to A.Or it will be as a normal call.
What you show is redirection, not forwarding.
Because B is not forwarding the message, the M-F value of zero is not an
error, and its ok to return the 302. It then becomes A's responsibility
to detect a loop. For instance, if the 302 contained the address of B,
its A's responsibility to realize it has already tried B and shouldn't
do so again.
If B were to act as a proxy and desire to forward the request to C, then
it would be obligated to notice that the M-F value is zero and instead
return a 483 response.
Thanks,
Paul
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors