Hi Expert,
I am facing an issue on which the contact URI comparison has happened and
it fails due to the TRC parameter not in order which I guess so far.
Contact: ""
Contact: ""
I saw in RFC 3261 19.1.4 URI Comparison
URI uri-parameter components are compared as follows:
- Any uri-parameter appearing in both URIs must match.
- A user, ttl, or method uri-parameter appearing in only one
URI never matches, even if it contains the default value.
- A URI that includes an maddr parameter will not match a URI
that contains no maddr parameter.
- All other uri-parameters appearing in only one URI are
ignored when comparing the URIs.
Rosenberg, et. al. Standards Track [Page 154]
RFC 3261SIP: Session Initiation Protocol June 2002
URI header components are never ignored. Any present header
component MUST be present in both URIs and match for the URIs
to match. The matching rules are defined for each header field
in Section 20.
And
Note that equality is not transitive:
sip:ca...@chicago.com and sip:ca...@chicago.com;security=on are
equivalent
sip:ca...@chicago.com and sip:ca...@chicago.com;security=off
are equivalent
Rosenberg, et. al. Standards Track [Page 155]
RFC 3261SIP: Session Initiation Protocol June 2002
sip:ca...@chicago.com;security=on and
sip:ca...@chicago.com;security=off are not equivalent
So does it mean the correct order should be given below where the TRC
parameter should be put at the last?
Contact: ""
Contact: ""
BR///
Rakesh Kumar Mohanty
___
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors