> Does the R-URI in the ACK should be same as R-URI in 
> the Invite for a 302 response to an Invite?
> How about for a 4xx or 200ok response?
> I couldn't find anything exact in the rfc 3261.

See RFC 3261 section 9.1 for cancel:

"The Request-URI, Call-ID, To, the numeric part of CSeq, and From header
 fields in the CANCEL request MUST be identical to those in the
 request being cancelled, including tags."

See RFC 3261 section for non-2xx ACK:

"This section specifies the construction of ACK requests sent within
 the client transaction.  A UAC core that generates an ACK for 2xx
 MUST instead follow the rules described in Section 13.

 The ACK request constructed by the client transaction MUST contain
 values for the Call-ID, From, and Request-URI that are equal to the
 values of those header fields in the request passed to the transport
 by the client transaction (call this the "original request")."

See RFC 3261 sections 13.2.2.4 and 12.2.1.1 for 2xx ACK:

"The UAC core MUST generate an ACK request for each 2xx received from
 the transaction layer.  The header fields of the ACK are constructed
 in the same way as for any request sent within a dialog (see Section
 12)"

"The UAC uses the remote target and route set to build the Request-URI
 and Route header field of 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."


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

Reply via email to