<div dir="ltr">*

<span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">which contains last interface i sent INVITE to</span>  - means that uri in the Route hasinterface and it just same with interface I sent invite to. I understand hat it is not a dependency.<br>*

<span style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">(Ignoring Route header that actually also exists in the Contact field) - means aslo existsi in the resquest. Not in the contact field offcource<span> </span></span>

</div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-02 9:31 GMT+03:00 Yuriy Gorlichenko <span dir="ltr"><<a href="mailto:ovoshlook@gmail.com" target="_blank">ovoshlook@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry for noize from my side<br>I just cant fully understand dependency:<br><br>I understand that actually route header shoud not be ingnored because it is shows way for the in-dialog packet<br>That is fine.<br><br>Just regarding behaivor of the FreeSwitch and other UACs<br><br>For now I have a next picture<br><br>When my provider sends me 200 - it contains as Record-Route: <a href="http://1.1.1.1:5060" target="_blank">1.1.1.1:5060</a> which contains last interface i sent INVITE to<br>Also it contains Contact: <a href="http://1.1.1.1:5061" target="_blank">1.1.1.1:5061</a><br><br>So when UAC receives this call without my proxy between provider and UAC it sends ACK to Contact URI (Ignoring Route header that actually also exists in the Contact field) sent at the 200 according rfc3261 -12.1.2 (that I shared above)<br><br>But when it sends via my proxy:<br><br>UAC receives ACK with 2 Route headers (that is right) and sends it to the topmost Route (myProxy) then my proxy as normal proxy resends it to the provider using second Route (that topmost for now after myProxy removes itself from Route set)<br><br>But here provider says me - you should use Contact field to reach target even from myProxy.<br><br>So in this case - At the behaivor of UAC -> Provider  it looks matched 12.1.2 but I still cant understand why in this case it ignores Route header at the ACK that actually exists<br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-07-02 9:02 GMT+03:00 Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Mon, Jul 02, 2018 at 09:00:02AM +0300, Yuriy Gorlichenko wrote:<br>
<br>
> yep I understand that.<br>
> I just see that in fact ACK soudl ignore Route header if it... Single?<br>
<br>
</span>What? No. <br>
<br>
There are two kinds of ACKs: hop-by-hop ACKs, which acknowledge negative<br>
final replies on every branch, and end-to-end ACKs, which are handled<br>
according to the rules for in-dialog requests. An ACK for a 2xx reply to<br>
an INVITE is going to be an in-dialog request, and under no<br>
circumstances should any Route headers be ignored unless they refer to<br>
the very proxy through which they are traversing. In that case, they<br>
should be stripped off before continuing with the next-hop Route. This<br>
is the standard loose-routing procedure labouriously articulated in the<br>
RFC, and implemented by loose_route().<br>
<div class="m_6570431939365077687HOEnZb"><div class="m_6570431939365077687h5"><br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>