<html><head><title>Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello, Razvan!<br>
<br>
Yes i am using top. hiding on proxy.<br>
<br>
I understand, thank you! <br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<span style=" font-family:'arial'; font-size: 10pt;"><i>> Hi, Denis!<br>
<br>
> Do you have the topology_hiding module loaded on the OpenSIPS Proxy? Can<br>
> you remove it? My assumption is that OpenSIPS thinks you are trying to<br>
> use topology hiding, and he is mangling the CallID (because he "sees" <br>
> the marker in there).<br>
> Alternatively, you could change the topo hiding marker to something else[1].<br>
<br>
> [1] <br>
> http://www.opensips.org/html/docs/modules/2.2.x/topology_hiding.html#id249610<br>
<br>
> Best regards,<br>
<br>
> Răzvan Crainea<br>
> OpenSIPS Core Developer<br>
> http://www.opensips-solutions.com<br>
<br>
> On 11/16/2016 11:58 AM, Denis wrote:<br>
>> And a version of Opensips proxy - Server:: OpenSIPS (2.2.1 (x86_64/linux)).<br>
>><br>
>> mailto:denis7979@mail.ru<br>
>><br>
>><br>
>> Razvan, all logs here<br>
>> https://cloud.mail.ru/public/MtcT/r3p7mRkhF<br>
>><br>
>> mailto:denis7979@mail.ru<br>
>><br>
>><br>
>> Razvan, i found the problem (there was in reply_route, where i have<br>
>> done fix_nated_contact()). This problem is closed.<br>
>> But, unfortunately, i still cannot make successful call, and i want to<br>
>> ask you to analyze the new problem it this branch.<br>
>><br>
>> The next problem appears in Opensis proxy (we have the same scheme).<br>
>> In attachment you can see a call log (trace3) and a log from syslog<br>
>> (trace4). All logs from Opensips proxy (3.3.3.3).<br>
>> Opensips proxy is the main proxy in my SIP network, while Opensips with<br>
>> tophiding (1.1.1.1) is a new instance.<br>
>> Opensips proxy serves many calls and i didn`t see such problem before.<br>
>><br>
>> I want to notice you on callid in 183 and 200 code, received from PSTN<br>
>> GW. It is changed by Opensips proxy for unknown reason.<br>
>><br>
>> Thank you for any help.<br>
>><br>
>> mailto:denis7979@mail.ru<br>
>><br>
>><br>
>> Hi, Denis!<br>
>><br>
>> Could you also send the logs for INVITE? It seems like the dialog is<br>
>> 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>
>> Răzvan Crainea<br>
>> OpenSIPS Solutions<br>
>> www.opensips-solutions.com <http://www.opensips-solutions.com><br>
>> On 11/15/2016 04:34 PM, Denis wrote:<br>
>><br>
>> Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding In attachment.<br>
>><br>
>> mailto:denis7979@mail.ru<br>
>><br>
>><br>
>> Can you put on pastebin the debug logs for the ACK?<br>
>><br>
>> Best regards,<br>
>> Răzvan Crainea<br>
>> OpenSIPS Solutions<br>
>> www.opensips-solutions.com <http://www.opensips-solutions.com><br>
>> On 11/15/2016 03:44 PM, Denis wrote:<br>
>><br>
>> 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>
>> mailto:denis7979@mail.ru<br>
>><br>
>><br>
>> You said you are doing load balancing as well. Are you doing load<br>
>> balancing on the ACK? What module are you using (dispatcher,<br>
>> loadbalancer, etc.)?<br>
>><br>
>> Load balancing functions can change the R-URI.<br>
>><br>
>><br>
>> Ben Newlin<br>
>><br>
>> *From: *<users-bounces@lists.opensips.org><br>
>> <mailto:users-bounces@lists.opensips.org>on behalf of Denis<br>
>> <denis7979@mail.ru> <mailto:denis7979@mail.ru><br>
>> *Reply-To: *OpenSIPS users mailling list <users@lists.opensips.org><br>
>> <mailto:users@lists.opensips.org><br>
>> *Date: *Tuesday, November 15, 2016 at 8:19 AM<br>
>> *To: *Răzvan Crainea <razvan@opensips.org> <mailto:razvan@opensips.org>,<br>
>> OpenSIPS users mailling list <users@lists.opensips.org><br>
>> <mailto:users@lists.opensips.org><br>
>> *Subject: *Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding<br>
>><br>
>> Hello, Razvan!<br>
>><br>
>> No, i don`t make any modification for that variables<br>
>><br>
>> " 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,<br>
>> FROMTAG=$ft, TOTAG=$tt, AUTH=$au) and RURI = $ru/$rd");<br>
>> force_rport();<br>
>> route(1);<br>
>> exit;<br>
>> }<br>
>><br>
>> }"<br>
>><br>
>> The information from a syslog.<br>
>><br>
>> "Route0:ACK was received (IPS=2.2.2.2, IPD=3.3.3.3,<br>
>> CALLID=82158NWE4MmU0NmJiZDU2MzA4OWM1MGFiZjU1Zjg2YTA4NWM,<br>
>> FROMTAG=b83b533d, TOTAG=6A3BE0-1AA9, AUTH=<null>) and RURI =<br>
>> sip:3364021@3.3.3.3:5068/3.3.3.3 <mailto:sip:3364021@3.3.3.3:5068/3.3.3.3>"<br>
>><br>
>> mailto:denis7979@mail.ru<br>
>><br>
>> Hi, Denis!<br>
>><br>
>> Are you modifying the $ru/$rd variables anyhwere in your script for that<br>
>> ACK? I am seeing the R-URI of the ACK going to 3.3.3.3:5068:<br>
>> ACK sip:3364021@3.3.3.3:5068 <mailto:sip:3364021@3.3.3.3:5068>SIP/2.0.<br>
>> However, it should be:<br>
>> ACK sip:3364021@4.4.4.4:5060 <mailto:sip:3364021@4.4.4.4:5060>SIP/2.0.<br>
>><br>
>> Can you try printing the $ru variable just after the<br>
>> topology_hiding_match() function?<br>
>><br>
>> Best regards,<br>
>> Răzvan Crainea<br>
>> OpenSIPS Solutions<br>
>> www.opensips-solutions.com <http://www.opensips-solutions.com><br>
>> On 11/15/2016 02:22 PM, Denis wrote:<br>
>><br>
>> 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<br>
>> 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<br>
>> 200 OK) to PSTN GW because RURI and Route header has similar IP, namely<br>
>> 3.3.3.3.<br>
>><br>
>> I am using "topology_hiding("C");" 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>
>> mailto:denis7979@mail.ru<br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> Users@lists.opensips.org <mailto:Users@lists.opensips.org><br>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> Users@lists.opensips.org <mailto:Users@lists.opensips.org><br>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> Users@lists.opensips.org<br>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br>
>><br>
<br>
> _______________________________________________<br>
> Users mailing list<br>
> Users@lists.opensips.org<br>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users</body></html>