[OpenSIPS-Users] Opensips 2.2.2 and top hiding
Denis
denis7979 at mail.ru
Wed Nov 16 10:58:14 CET 2016
And a version of Opensips proxy - Server:: OpenSIPS (2.2.1 (x86_64/linux)).
mailto:denis7979 at mail.ru
Razvan, all logs here
https://cloud.mail.ru/public/MtcT/r3p7mRkhF
mailto:denis7979 at mail.ru
Razvan, i found the problem (there was in reply_route, where i have done fix_nated_contact()). This problem is closed.
But, unfortunately, i still cannot make successful call, and i want to ask you to analyze the new problem it this branch.
The next problem appears in Opensis proxy (we have the same scheme).
In attachment you can see a call log (trace3) and a log from syslog (trace4). All logs from Opensips proxy (3.3.3.3).
Opensips proxy is the main proxy in my SIP network, while Opensips with tophiding (1.1.1.1) is a new instance.
Opensips proxy serves many calls and i didn`t see such problem before.
I want to notice you on callid in 183 and 200 code, received from PSTN GW. It is changed by Opensips proxy for unknown reason.
Thank you for any help.
mailto:denis7979 at mail.ru
Hi, Denis!
Could you also send the logs for INVITE? It seems like the dialog is storing a bogus Contact header.
PS: please attach the logs on pastebin.com, not directly in the email.
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 11/15/2016 04:34 PM, Denis wrote:
Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding In attachment.
mailto:denis7979 at mail.ru
Can you put on pastebin the debug logs for the ACK?
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 11/15/2016 03:44 PM, Denis wrote:
Re: [OpenSIPS-Users] Opensips 2.2.2 and top hiding Hello Ben.
I am using loadbalacer module and using only for initial INVITE.
mailto:denis7979 at 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-bounces at lists.opensips.org> on behalf of Denis <denis7979 at mail.ru>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Tuesday, November 15, 2016 at 8:19 AM
To: Răzvan Crainea <razvan at opensips.org>, OpenSIPS users mailling list <users at 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 at 3.3.3.3:5068/3.3.3.3"
mailto:denis7979 at 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 at 3.3.3.3:5068 SIP/2.0.
However, it should be:
ACK sip:3364021 at 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:denis7979 at mail.ru
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161116/43fa6077/attachment.htm>
More information about the Users
mailing list