[OpenSIPS-Users] Problems with loose_route and ACK

olle at zaark.com olle at zaark.com
Thu Sep 26 09:30:11 EDT 2019


Hi ,

I have stumbled on a issue with ACK on 200 OK from Freeswitch. We are
running 2.4.4 but I have also upgraded to 2.4.6 and testad with the same
result.

 

I get an ACK from our Freeswitch (172.25.0.25), trace from ngrep (some
address and numbers have been anonymized). 

 

U 2019/09/26 13:00:22.614545 172.25.0.25:5060 -> 172.25.251.4:5060 #31

ACK
sip:c22c11d0-7961-48c6-a603-e3d1872a462a at 95.195.215.15:56188;transport=TCP;o
b SIP/2.0.

Via: SIP/2.0/UDP 172.25.0.25;rport;branch=z9hG4bK26XN3DN58vg6e.

Route: <sip:172.25.0.21:5070;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441>.

Route:
<sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4
591f441>.

Max-Forwards: 70.

From: "0123456789" <sip:0123456789 at 172.25.0.25>;tag=v3rpgKD64K2me.

To:
<sip:9876543210 at blfkfmne406w.zaark.com>;tag=3Gwq-SQeo2nkmHWzeMGXPMJbWjv1UqxR
.

Call-ID: 6d8b0c06-5b00-1238-3aa8-fa163e0144b5.

CSeq: 10197616 ACK.

Contact: <sip:gw+device at 172.25.0.25:5060;transport=udp;gw=device>.

Content-Length: 0.

.

 

Our script in this case basically only have 3 steps has_to(), loose_route()
and t_relay()

 

AFAIK this packed should be routed to our edge proxy on 172.25.0.21 which
has the public IP aaa.bbb.ccc,  but what happens is that it routes to the
2nd Route header and drops the first:

 

U 2019/09/26 13:00:22.614870 172.25.251.4:5060 -> aaa.bbb.ccc.77:5002 #32

ACK
sip:c22c11d0-7961-48c6-a603-e3d1872a462a at 95.195.215.15:56188;transport=TCP;o
b SIP/2.0.

Via: SIP/2.0/UDP 172.25.251.4:5060;branch=z9hG4bK1d62.29103862.3.

Via: SIP/2.0/UDP
172.25.0.25;received=172.25.0.25;rport=5060;branch=z9hG4bK26XN3DN58vg6e.

Route:
<sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4
591f441>.

Max-Forwards: 69.

From: "0123456789" <sip:0123456789 at 172.25.0.25>;tag=v3rpgKD64K2me.

To:
<sip:9876543210 at blfkfmne406w.zaark.com>;tag=3Gwq-SQeo2nkmHWzeMGXPMJbWjv1UqxR
.

Call-ID: 6d8b0c06-5b00-1238-3aa8-fa163e0144b5.

CSeq: 10197616 ACK.

Contact: <sip:gw+device at 172.25.0.25:5060;transport=udp;gw=device>.

Content-Length: 0.

 

This used to work in an older setup with Opensips running 2.1, so not sure
if I'm doing something wrong here.

 

Any hints are appreciated

 

Thanks in advance / Olle

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190926/07f896b3/attachment.html>


More information about the Users mailing list