<div dir="ltr">In continuation of <a href="https://marc.info/?l=sr-users&m=150730146302404&w=2" target="_blank">previous </a>thread about none/optional/compulsory SRTP handling...<div><div><div><br></div><div>I used the suggested approach of <i>t_reuse_branch()</i> in a <i>tm:branch-failure</i> detected by t_check_status("(415)|(488)<wbr>") replies, with the only difference of me doing it vice-versa from the suggested mantra of offer SRTP first then fallback to RTP.</div></div></div><div><br></div><div>It works... well, for some UACs, not so with others.</div><div><br></div><div>The 'good' UACs happily accept an updated branch, like for e.g. Yealink, will reply with "<i>488 Not Acceptable Here</i>" at first followed by a <i>200 OK</i>.</div><div><br></div><div>The 'bad' UACs, like for e.g. Bria || Zoiper, will issue a "<i>415 Unsupported Media Type</i>" at first, and then a "<i><b>482 Merged Request</b></i>" after receiving and updated branch with a different RTP profile.</div><div><br></div><div>Rightfully so, they decided that the updated branch is a retransmission, since both branches have the same CSeq, Call-ID and From tag. </div><div>The branch ID however differs, so does the RTP profile obviously.</div><div><br></div><div><b>Any suggestion on how to convince all UACs that the 2nd attempt is different than the 1st one?</b></div><div>
<pre style="white-space:pre-wrap;word-wrap:break-word;width:1352.88px;color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">According to RFC 3261, a request is a merged request if ...
"8.2.2.2 Merged Requests
If the request has no tag in the To header field, the UAS core MUST
check the request against ongoing transactions. If the From tag,
Call-ID, and CSeq exactly match those associated with an ongoing
transaction, but the request does not match that transaction (based
on the matching rules in Section 17.2.3), the UAS core SHOULD
generate a 482 (Loop Detected) response and pass it to the server
transaction."</pre>
<br></div></div>