<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Dear Bogdan and Sammy</div><div><br></div>200 OK received to Alice is as follows<div><div><br></div><div><font face="Courier New, sans-serif">SIP/2.0 200 Ok</font></div><div><font face="Courier New, sans-serif">Via: SIP/2.0/UDP 203.215.176.22:43912;received=203.215.176.22;branch=z9hG4bK-d87543-769673078-1--d87543-;rport=48008</font></div><div><font face="Courier New, sans-serif">From: 923071000201<sip:923071000201@sip.realm.com>;tag=450fb754</font></div><div><font face="Courier New, sans-serif">To: <sip:00923071000202@sip.realm.com>;tag=b1UXiUx</font></div><div><font face="Courier New, sans-serif">Call-ID: ac263a229e15d211</font></div><div><font face="Courier New, sans-serif">CSeq: 3 INVITE</font></div><div><font face="Courier New, sans-serif">User-Agent: LinphoneAndroid/2.5.0 (belle-sip/1.4.1)</font></div><div><font face="Courier New, sans-serif">Supported: outbound</font></div><div><font face="Courier New, sans-serif">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE</font></div><div><font face="Courier New, sans-serif">Contact: <sip:923071000202@proxy.com:1234>;+sip.instance="<urn:uuid:05d62157-0f77-46f8-9dee-5c37a646cbc6>"</font></div><div><font face="Courier New, sans-serif">Content-Type: application/sdp</font></div><div><font face="Courier New, sans-serif">Content-Length: 181</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif"><b>Record-route: <sip:proxy.com:1234;lr></b></font></div><div><font face="Courier New, sans-serif"><b>Record-route: <sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7></b></font></div><div><br></div>While Alice send ACK as Follows</div><div><br></div><div><div><font face="Courier New, sans-serif">ACK sip:923071000202@proxy.com:1234 SIP/2.0</font></div><div><font face="Courier New, sans-serif">To: <sip:00923071000202@sip.realm.com>;tag=b1UXiUx</font></div><div><font face="Courier New, sans-serif">From: 923071000201<sip:923071000201@sip.realm.com>;tag=450fb754</font></div><div><font face="Courier New, sans-serif">Via: SIP/2.0/UDP 203.215.176.22:43912;branch=z9hG4bK-d87543-546180712-1--d87543-;rport</font></div><div><font face="Courier New, sans-serif">Call-ID: ac263a229e15d211</font></div><div><font face="Courier New, sans-serif">CSeq: 3 ACK</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif"><b>Route: <sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7></b></font></div><div><font face="Courier New, sans-serif"><b>Route: <sip:proxy.com:1234;lr></b></font></div><div><font face="Courier New, sans-serif"><b><br></b></font></div><div><font face="Courier New, sans-serif">Contact: <sip:923071000201@203.215.176.22:50056></font></div><div><font face="Courier New, sans-serif">Max-Forwards: 70</font></div><div><font face="Courier New, sans-serif">Proxy-Authorization: Digest username="923071000201",realm="sip.realm.com",nonce="55e6f4533b45a508ef98ccd396274bf65ba99882",uri="sip:00923071000202@sip.realm.com:1234",response="5eea832060c8218b4229a8623d26bf1d",cnonce="825a886fc914ef2a",nc=00000001,qop=auth,algorithm=MD5</font></div><div><font face="Courier New, sans-serif">User-Agent: eyeBeam release 3007n stamp 17816</font></div><div><font face="Courier New, sans-serif">Content-Length: 0</font></div><div><br>ACK must be sent to TOP most Record-route first but its going to sceond Record-route first. Is it a correct behavior ?</div><div><br></div><div>Regards</div><div>Hamid R. Hashmi</div><div> <br><hr id="stopSpelling">Date: Wed, 2 Sep 2015 11:11:28 -0400<br>From: govoiper@gmail.com<br>To: users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] ACK did not Receive on Proxy and get in loop<br><br><p dir="ltr">I beleive you have to engage NAT corrections in reply route for 200OK. <br>
I havent seen your SIP trace but if im Comtaact header the IP is of UAS and it goes to the caller side ACK will get directly to that IP. </p>
<p dir="ltr">Just my guess. Need more info from you. </p>
<p dir="ltr">Regards,<br>
Sammy</p>
<div class="ecxgmail_quote">On Sep 2, 2015 10:24 AM, "Hamid Hashmi" <<a href="mailto:hamid2kviii@hotmail.com">hamid2kviii@hotmail.com</a>> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr"><div>ACK is not receiving on Proxy, It directly goes to UAS and get in loop at Proxy before relayed to bob. Can you explain why ACK is going directly to UAS while all other responses going to proxy?</div><div><br></div><div><pre style="font-size:13.3333330154419px;"> Alice Proxy UAS Bob</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> | | | |</pre> | INVITE | | |
|--------------->| INVITE | |
| 100 |--------------->| |
|<---------------| INVITE | |</pre><pre style="font-size:13.3333330154419px;"> | |<---------------| |</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | | INVITE |</pre><pre style="font-size:13.3333330154419px;"> | |-------------------------------->|</pre><pre style="font-size:13.3333330154419px;"> | | | |
| | 180 |
| |<--------------------------------|</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | | 180 | |</pre><pre style="font-size:13.3333330154419px;"> | |--------------->| |</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | | 180 | |
| 180 |<---------------| |
|<---------------| | |</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> | | 200 |
| |<--------------------------------|</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | | 200 | |</pre><pre style="font-size:13.3333330154419px;"> | |--------------->| |</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre> | | 200 | |
| |<---------------| |</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> | 200 | | |</pre> |<---------------| | |</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> | | | |</pre> | ACK | |
|-------------------------------->| |</pre><pre style="font-size:13.3333330154419px;"> | | ACK | |
| |<---------------| |
| | | |</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> | ACK | |</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | ACK | |</pre><pre style="font-size:13.3333330154419px;"> | | | |</pre><pre style="font-size:13.3333330154419px;"> | ACK | |</pre> . . . .</pre><pre style="font-size:13.3333330154419px;"><pre style="font-size:13.3333330154419px;"> . . . .</pre><pre style="font-size:13.3333330154419px;"> . . . .</pre>
</pre><pre style="font-size:13.3333330154419px;"><br></pre><pre style="font-size:13.3333330154419px;">Regards</pre><pre style="font-size:13.3333330154419px;">Hamid R. Hashmi</pre></div>                                            </div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
<br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div><br></div>                                            </div></body>
</html>