RFC361 12.2.1.1 Generating the Request
" If the route set is empty, the UAC MUST place the remote target URI into the Request-URI. The UAC MUST NOT add a Route header field to the request. If the route set is not empty, and the first URI in the route set contains the lr parameter (see Section 19.1.1), the UAC MUST place the remote target URI into the Request-URI and MUST include a Route header field containing the route set values in order, including all parameters. If the route set is not empty, and its first URI does not contain the lr parameter, the UAC MUST place the first URI from the route set into the Request-URI, stripping any parameters that are not allowed in a Request-URI. The UAC MUST add a Route header field containing the remainder of the route set values in order, including all parameters. The UAC MUST then place the remote target URI into the Route header field as the last value." So, If route-set has lr parameter in the first element use Contact as the Request-URI. Otherwise (no lr parameter) use the first element in route set as the Request-URI. Sachin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sudhir kumar Sent: Wednesday, May 03, 2006 6:28 PM To: Sip_Impl Subject: [Sip-implementors] query regarding BYE request URI Hi All, If UA received INVITE request with contact and record-route header, when UA want to built the BYE request. How BYE request-URI is built? Should I use record-route or contact header to construct BYE request-URI? Any response is appreciated Thanks in advance Sudhir __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new. http://in.answers.yahoo.com _______________________________________________ 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
