<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Hamid,<br>
<br>
If you use PATH support on the proxy, this should translate into
UAS adding an extra Route header when routing calls back the UAS.<br>
<br>
Nevertheless, the PATH does not interfere and change anything when
comes to the sequential requests.<br>
<br>
Could you post the 200 OK between UAS-proxy and proxy-UAC ?<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 07.09.2015 14:23, Hamid Hashmi
wrote:<br>
</div>
<blockquote cite="mid:BLU182-W27BA857E836681CABA2F11E0540@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">
<div>Bogdan, </div>
<div><br>
</div>
I am using path module on Both servers (Proxy -
add_path_receive() and UAS - use_received 1 ). UAS change the
Contact header of 200 OK with the IP given in field 'path' in
table 'location'. But when I make a call by bypassing proxy, UAS
did not change the contact header. What am I doing wrong in
using module Path ?
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">Regards</span></div>
<div><span style="font-size: 12pt;">Hamid R. Hashmi </span>
<div><br>
<div>
<hr id="stopSpelling">Date: Mon, 7 Sep 2015 13:16:35 +0300<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:hamid2kviii@hotmail.com">hamid2kviii@hotmail.com</a><br>
Subject: Re: [OpenSIPS-Users] ACK did not Receive on Proxy
and get in loop<br>
<br>
<tt>Hi Hamid,<br>
<br>
There is something wrong with the contact in the 200 OK
- as you see, the 200 OK reply from proxy to Alice
contains in the Contact header the IP of the the proxy,
while it should contain the IP address of BOB (the
issuer of that reply).<br>
<br>
Because of that bogus Contact header, the whole
in-dialog routing (for the ACK) gets broken.<br>
<br>
Best Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div class="ecxmoz-cite-prefix">On 03.09.2015 09:29, Hamid
Hashmi wrote:<br>
</div>
<blockquote
cite="mid:BLU182-W87AE67C90E9CB568B80A7DE0680@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<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<a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:923071000201@sip.realm.com"><sip:923071000201@sip.realm.com></a>;tag=450fb754</font></div>
<div><font face="Courier New, sans-serif">To: <a
moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:00923071000202@sip.realm.com"><sip:00923071000202@sip.realm.com></a>;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:
<a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:923071000202@proxy.com:1234"><sip:923071000202@proxy.com:1234></a>;+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:
<a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7"><sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7></a></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 <a
moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:sip:923071000202@proxy.com:1234">sip:923071000202@proxy.com:1234</a>
SIP/2.0</font></div>
<div><font face="Courier New, sans-serif">To: <a
moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:00923071000202@sip.realm.com"><sip:00923071000202@sip.realm.com></a>;tag=b1UXiUx</font></div>
<div><font face="Courier New, sans-serif">From:
923071000201<a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:923071000201@sip.realm.com"><sip:923071000201@sip.realm.com></a>;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:
<a moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7"><sip:00923071000202@sipuas.com:1234;lr;ftag=450fb754;did=1cd.ad2b02c7></a></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: <a
moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:923071000201@203.215.176.22:50056"><sip:923071000201@203.215.176.22:50056></a></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=<a
moz-do-not-send="true"
class="ecxmoz-txt-link-rfc2396E"
href="mailto:sip:00923071000202@sip.realm.com:1234">"sip:00923071000202@sip.realm.com:1234"</a>,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="ecxstopSpelling">Date: Wed, 2 Sep 2015
11:11:28 -0400<br>
From: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:govoiper@gmail.com">govoiper@gmail.com</a><br>
To: <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><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 moz-do-not-send="true"
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;">Regards</pre>
<pre style="font-size:13.3333330154419px;">Hamid R. Hashmi</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
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 <a moz-do-not-send="true"
class="ecxmoz-txt-link-abbreviated"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true"
class="ecxmoz-txt-link-freetext"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
<br>
</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>