[OpenSIPS-Users] Topology_Hiding adding extra VIA header

SamyGo govoiper at gmail.com
Fri Nov 11 23:33:05 CET 2016


Hi,

I'm using OpenSIPS 2.2.1 version and I'm facing a weird situation where
OpenSIPS is adding a duplicated VIA header to the 200 OK, This only happens
when I've topology_hiding() engaged into the call.

The scenario is very simple; two users making call to each other on the
same OpenSIPS but with topology_hiding(). As a consequence of this double
VIA the caller device doesn't trigger the ACK and hence we don't get media
stream established between devices.


*WITH TOPOLOGYHIDING:*
SIP/2.0 200 OK
Via: SIP/2.0/TLS 10.1.10.51:59231;received=7X.XX.XX.X7;rport=59231;branch=
z9hG4bK-607165482-63
Via: SIP/2.0/TLS 10.1.10.51:59231;received=7X.XX.XX.X7;rport=59231;branch=
z9hG4bK-607165482-63
CSeq: 1 INVITE
...


*WITHOUT TOPOHIDING:*
SIP/2.0 200 OK
Via: SIP/2.0/TLS 10.1.10.51:59223;received=7X.XX.XX.X7;rport=59223;branch=
z9hG4bK-607166212-58
CSeq: 1 INVITE


The only difference between the two scenarios is the function
topology_hiding(); is commented out.

It seems like a bug to me, can anyone guide me here validate this.

*OpenSIPS Version:*
version: opensips 2.2.1 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 68ace2e
main.c compiled on 18:34:37 Sep 28 2016 with gcc 4.8


Thanks,
Sammy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161111/2511da21/attachment.htm>


More information about the Users mailing list