Hello Ben.

I am using loadbalacer module and using only for initial INVITE.

mailto:denis7...@mail.ru


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.)?
 
Load balancing functions can change the R-URI.
 
 
Ben Newlin
 
From: <users-boun...@lists.opensips.org> on behalf of Denis <denis7...@mail.ru>
Reply-To: OpenSIPS users mailling list <users@lists.opensips.org>
Date: Tuesday, November 15, 2016 at 8:19 AM
To: Răzvan Crainea <raz...@opensips.org>, OpenSIPS users mailling list 
<users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding
 
Hello, Razvan!

No, i don`t make any modification for that variables

"  if (match_dialog() || topology_hiding_match()) {

  if (!$DLG_status == NULL) {
  xlog("L_INFO", "Route0:$rm was received (IPS=$si, IPD=$rd, CALLID=$ci, 
FROMTAG=$ft, TOTAG=$tt, AUTH=$au) and RURI = $ru/$rd");
    force_rport();
    route(1);
    exit;
  }

}"

The information from a syslog.

"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 = sip:3364021@3.3.3.3:5068/3.3.3.3"

mailto:denis7...@mail.ru

Hi, Denis!

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:
ACK sip:3364021@3.3.3.3:5068 SIP/2.0.
However, it should be:
ACK sip:3364021@4.4.4.4:5060 SIP/2.0.

Can you try printing the $ru variable just after the topology_hiding_match() 
function?

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 11/15/2016 02:22 PM, Denis wrote:

Opensips 2.2.2 and top hiding Hello!

I try to make top hiding using topology_hiding module.
In attachment you can find a log of unsuccessful call.

Scheme of the call

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.

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.

I am using "topology_hiding("C");" function for top hiding.

The call log was gathered from 1.1.1.1

Thank you for any help.

P.S. On 1.1.1.1 i also try to make load balancing.

mailto:denis7...@mail.ru 

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to