[OpenSIPS-Users] UDP to TCP issue with Re-INVITE

Mickael Hubert mickael at winlux.fr
Wed Dec 18 10:05:04 EST 2019


Hi all,
I make a lot of others tests.
I have a new opensips with very simple conf.

Asterisk (tcp:192.168.10.204:8060) --> OpenSIPS (tcp:192.168.10.203:8060)
--> Public SBC

With the scenario, All calls work like a charm (Re-invite from public SBC
is forwarded to asterisk correctly).
OpenSIPS add Record-route headers and Via

INVITE from OpenSIPS to Public SBC:

INVITE sip:192.168.10.203:8060 SIP/2.0
Record-Route: <sip:192.168.10.203;transport=tcp;r2=on;lr;did=e0c.7aea7b33>
Record-Route: <sip:192.168.10.203:8060
;transport=tcp;r2=on;lr;did=e0c.7aea7b33>
Via: SIP/2.0/TCP 192.168.10.203:5060
;branch=z9hG4bK1fe7.4d994257.0;i=75d41696
Via: SIP/2.0/TCP 192.168.10.204:8060;branch=z9hG4bKmc2Kt5HeH7HrD
Max-Forwards: 69
From: <sip:192.168.10.204:8060>;tag=a2833Nt0cX4Xc
To: <sip:192.168.10.203:8060>
Call-ID: a9d81adc-9c40-1238-5cac-080027ea7403
CSeq: 946412450 INVITE
Contact: <sip:192.168.10.204:8060;transport=tcp>
User-Agent: UniMRCP SofiaSIP 1.6.0
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE
Supported: eventlist
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 401

When I activate topology hiding on this OpenSIPS, It don't add record-route
header and via

Asterisk (tcp:192.168.10.204:8060) --> OpenSIPS (tcp:192.168.10.203:8060
with Topology Hinding) --> Public SBC

INVITE from OpenSIPS to Public SBC:

INVITE sip:192.168.10.203:8060 SIP/2.0
Via: SIP/2.0/TCP 192.168.10.203:5060
;branch=z9hG4bK3945.b919d255.0;i=6ed14877
Max-Forwards: 69
From: <sip:192.168.10.204:8060>;tag=gr0rerZNUjaej
To: <sip:192.168.10.203:8060>
Call-ID: 362650cb-9c47-1238-5cac-080027ea7403
CSeq: 946412456 INVITE
Contact: <sip:192.168.10.203;transport=tcp;did=6b1.179a1cb1>
User-Agent: UniMRCP SofiaSIP 1.6.0
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
NOTIFY, REFER, UPDATE
Supported: eventlist
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 402

And with topology hiding activate, the Re-Invite from UAS (public SBC)
isn't forwarded to asterisk !
Idem, with topology hiding, a BYE from UAS (public SBC) isn't forwarded
too. But the BYE from UAC is forwarded correctly

Is there a bug or misconfiguration for topology hiding module ?

thanks in advance

Le mar. 17 déc. 2019 à 11:09, Mickael Hubert <mickael at winlux.fr> a écrit :

> Sure !
> You can find it here  (it's jinja2 template, but it readable ;) ) :
> https://github.com/Mickaelh51/opensips-tcp-issue/blob/master/micka_opensips_conf.txt
> There is only the routing process in this file. Feel free to ask me if you
> want other parts of my conf.
>
> ++
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191218/d77dd962/attachment.html>


More information about the Users mailing list