On 5/20/13 6:53 AM, ANAND KUMAR wrote:
>
>
> Hi,
> I have a query for method available in Request URI.
> According to rfc 3261 section 19.1.5
> "If the URI contains a method parameter, its value MUST be used as the method 
> of the request."
> Now suppose the UAC receives 302 Moved Temporary with Contact like
> sip:biloxi.com;method=REGISTER;transport=tcp?to=sip:bob%40biloxi.com
> Doest that mean the UAC need to send REGISTER request to sip:biloxi.com ?
> If not then what is the meaning of this method name in the Request URI?

Yes, the implication is that the UAC should register.
Of course there are many issues with this.

You didn't say what sort of request you sent that got this response.
Hopefully it was a REGISTER request. In this case the old R-URI 
identified a registrar, and the contact in the 302 presumably identifies 
a different registrar you are requested to use. (This might arise as a 
result of load balancing.) In this case all is straightforward - the 
remainder of your REGISTER request remains the same, and the method 
parameter is really a no-op.

If you had sent some other message (e.g., an INVITE) and got this 
response, then the action is unclear. It might mean that you are 
forbidden to send requests without registering first. (That isn't 
something SIP expects, but some systems like IMS require this.) If so, 
then presumably it means to send a separate REGISTER (not derived from 
your INVITE), and then maybe you will be able to retry your INVITE using 
the same R-URI you had used before. But that is just speculation on my 
part. There is nothing in SIP that discusses such behavior.

        Thanks,
        Paul

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to