<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi, Denis!<br>
<br>
Could you also send the logs for INVITE? It seems like the dialog
is storing a bogus Contact header.<br>
<br>
PS: please attach the logs on pastebin.com, not directly in the
email.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11/15/2016 04:34 PM, Denis wrote:<br>
</div>
<blockquote cite="mid:589878424.20161115173447@ptl.ru" type="cite">
<title>Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding</title>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">In
attachment.<br>
<br>
</span><a moz-do-not-send="true" style=" font-family:'arial';
font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tbody>
<tr>
<td bgcolor="#0000ff" width="2"><br>
</td>
<td><span style=" font-family:'courier new'; font-size:
12pt;">Can you put on pastebin the debug logs for the
ACK?<br>
<br>
Best regards,<br>
Răzvan Crainea<br>
OpenSIPS Solutions<br>
</span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 12pt;"
href="http://www.opensips-solutions.com">www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size:
12pt;">On 11/15/2016 03:44 PM, Denis wrote:<br>
</span>
<table>
<tbody>
<tr>
<td bgcolor="#3200ff" width="2"><br>
</td>
<td><span style=" font-family:'times new roman';
font-size: 12pt;">Re: [OpenSIPS-Users] Opensips
2.2.2 and top hiding Hello Ben.<br>
<br>
I am using loadbalacer module and using only for
initial INVITE.<br>
<br>
</span><a moz-do-not-send="true" style="
font-family:'arial'; font-size: 10pt;"
href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tbody>
<tr>
<td bgcolor="#0000ff" width="2"><br>
</td>
<td><span style=" font-family:'calibri';
font-size: 11pt;">You said you are doing
load balancing as well. Are you doing
load balancing on the ACK? What module
are you using (dispatcher, loadbalancer,
etc.)?<br>
<br>
Load balancing functions can change the
R-URI.<br>
<br>
<br>
Ben Newlin<br>
<br>
<span style=" font-size: 12pt;"><b>From:
</b></span></span><a
moz-do-not-send="true" style="
font-family:'calibri'; font-size: 12pt;"
href="mailto:users-bounces@lists.opensips.org"><users-bounces@lists.opensips.org></a><span
style=" font-family:'calibri';
font-size: 12pt;"> on behalf of Denis </span><a
moz-do-not-send="true" style="
font-family:'calibri'; font-size: 12pt;"
href="mailto:denis7979@mail.ru"><denis7979@mail.ru></a><br>
<span style=" font-family:'calibri';
font-size: 12pt;"><b>Reply-To: </b>OpenSIPS
users mailling list </span><a
moz-do-not-send="true" style="
font-family:'calibri'; font-size: 12pt;"
href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
<span style=" font-family:'calibri';
font-size: 12pt;"><b>Date: </b>Tuesday,
November 15, 2016 at 8:19 AM<br>
<b>To: </b>Răzvan Crainea </span><a
moz-do-not-send="true" style="
font-family:'calibri'; font-size: 12pt;"
href="mailto:razvan@opensips.org"><razvan@opensips.org></a><span
style=" font-family:'calibri';
font-size: 12pt;">, OpenSIPS users
mailling list </span><a
moz-do-not-send="true" style="
font-family:'calibri'; font-size: 12pt;"
href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
<span style=" font-family:'calibri';
font-size: 12pt;"><b>Subject: </b>Re:
[OpenSIPS-Users] Opensips 2.2.2 and top
hiding<br>
<br>
<span style=" font-family:'times new
roman';">Hello, Razvan!<br>
<br>
No, i don`t make any modification for
that variables<br>
<br>
"<span style=" font-size: 9pt;"> if
(match_dialog() ||
topology_hiding_match()) {<br>
<br>
if (!$DLG_status == NULL) {<br>
xlog("L_INFO", "Route0:$rm was
received (IPS=$si, IPD=$rd,
CALLID=$ci, FROMTAG=$ft, TOTAG=$tt,
AUTH=$au) and RURI = $ru/$rd");<br>
force_rport();<br>
route(1);<br>
exit;<br>
}<br>
<br>
}<span style=" font-size: 12pt;">"<br>
<br>
The information from a syslog.<br>
<br>
"Route0:ACK was received
(IPS=2.2.2.2, IPD=3.3.3.3,
CALLID=82158NWE4MmU0NmJiZDU2MzA4OWM1MGFiZjU1Zjg2YTA4NWM,
FROMTAG=b83b533d,
TOTAG=6A3BE0-1AA9,
AUTH=<null>) and RURI = </span></span></span></span><a
moz-do-not-send="true" style="
font-family:'times new roman';
font-size: 12pt;"
href="mailto:sip:3364021@3.3.3.3:5068/3.3.3.3">sip:3364021@3.3.3.3:5068/3.3.3.3</a><span
style=" font-family:'times new roman';
font-size: 12pt;">"<br>
<br>
</span><a moz-do-not-send="true" style="
font-family:'arial'; font-size: 10pt;"
href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<table bgcolor="#ffffff">
<tbody>
<tr>
<td bgcolor="#0000ff" width="2"><br>
</td>
<td><span style=" font-family:'times
new roman'; font-size: 12pt;">Hi,
Denis!<br>
<br>
Are you modifying the $ru/$rd
variables anyhwere in your
script for that ACK? I am seeing
the R-URI of the ACK going to
3.3.3.3:5068:<br>
ACK </span><a
moz-do-not-send="true" style="
font-family:'times new roman';
font-size: 12pt;"
href="mailto:sip:3364021@3.3.3.3:5068">sip:3364021@3.3.3.3:5068</a><span
style=" font-family:'times new
roman'; font-size: 12pt;">
SIP/2.0.<br>
However, it should be:<br>
ACK </span><a
moz-do-not-send="true" style="
font-family:'times new roman';
font-size: 12pt;"
href="mailto:sip:3364021@4.4.4.4:5060">sip:3364021@4.4.4.4:5060</a><span
style=" font-family:'times new
roman'; font-size: 12pt;">
SIP/2.0.<br>
<br>
Can you try printing the $ru
variable just after the
topology_hiding_match()
function?<br>
<br>
Best regards,<br>
Răzvan Crainea<br>
OpenSIPS Solutions<br>
</span><a moz-do-not-send="true"
style=" font-family:'times new
roman'; font-size: 12pt;"
href="http://www.opensips-solutions.com">www.opensips-solutions.com</a><br>
<span style=" font-family:'times
new roman'; font-size: 12pt;">On
11/15/2016 02:22 PM, Denis
wrote:<br>
</span>
<table>
<tbody>
<tr>
<td bgcolor="#3200ff"
width="2"><br>
</td>
<td><span style="
font-family:'times new
roman'; font-size:
12pt;">Opensips 2.2.2
and top hiding Hello!<br>
<br>
I try to make top hiding
using topology_hiding
module.<br>
In attachment you can
find a log of
unsuccessful call.<br>
<br>
Scheme of the call<br>
<br>
SIP UA (2.2.2.2) ->
Opensips with top hiding
(1.1.1.1) -> another
Opensis proxy (3.3.3.3)
- > PSTN GW (4.4.4.4)
-> PSTN.<br>
<br>
As i understand, the
problem is that Opensips
proxy cannot send ACK
(on 200 OK) to PSTN GW
because RURI and Route
header has similar IP,
namely 3.3.3.3.<br>
<br>
I am using "<span
style=" font-size:
9pt;">topology_hiding("C");<span
style=" font-size:
12pt;">" function
for top hiding.<br>
<br>
The call log was
gathered from
1.1.1.1<br>
<br>
Thank you for any
help.<br>
<br>
P.S. On 1.1.1.1 i
also try to make
load balancing.<br>
<br>
</span></span></span><a
moz-do-not-send="true"
style="
font-family:'arial';
font-size: 10pt;"
href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a>
<br>
<br>
<span style="
font-family:'times new
roman'; font-size:
12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a
moz-do-not-send="true"
style="
font-family:'times new
roman'; font-size:
12pt;"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
style="
font-family:'times new
roman'; font-size:
12pt;"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<span style=" font-family:'courier new';
font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 12pt;"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<span style=" font-family:'courier new';
font-size: 12pt;">
</span><a moz-do-not-send="true" style="
font-family:'courier new'; font-size: 12pt;"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<span style=" font-family:'courier new';
font-size: 12pt;">
</span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</blockquote>
<br>
</body>
</html>