[OpenSIPS-Users] Problems with loose_route and ACK

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Sep 27 04:13:10 EDT 2019


Enable log_level 4 (debug level) and post the logs generated by OpenSIPS 
(172.25.251.4) when handling the ACK.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 9/26/19 9:31 PM, Olle Frimanson wrote:
>
> Hi yes I tried that as well and then the ACK was not routed at all.
>
> BR/Olle
>
> *Från:*Bogdan-Andrei Iancu <bogdan at opensips.org>
> *Skickat:* den 26 september 2019 19:59
> *Till:* Olle Frimanson <olle at zaark.com>; users at lists.opensips.org
> *Ämne:* Re: SV: [OpenSIPS-Users] Problems with loose_route and ACK
>
> Hi,
>
> You should have it on the OpenSIPS with the 172.25.251.4 IP.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
>    https://www.opensips-solutions.com
> OpenSIPS Summit 2019
>    https://www.opensips.org/events/Summit-2019Amsterdam/
>
> On 9/26/19 6:45 PM, Olle Frimanson wrote:
>
>     Hi again I might add it’s enabled on our edge proxy since it
>     converts TCP/TLS to UDP
>
>     Br/Olle
>
>     *Från:*Bogdan-Andrei Iancu <bogdan at opensips.org>
>     <mailto:bogdan at opensips.org>
>     *Skickat:* den 26 september 2019 16:51
>     *Till:* OpenSIPS users mailling list <users at lists.opensips.org>
>     <mailto:users at lists.opensips.org>; olle at zaark.com
>     <mailto:olle at zaark.com>
>     *Ämne:* Re: [OpenSIPS-Users] Problems with loose_route and ACK
>
>     Hi Olle,
>
>     It is like the double-RR indication is ignored (the r2 param) from
>     the top Route hdr. Are you sure that the "enable_double_rr"
>     modparam is still on ?
>
>     Regards,
>
>
>     Bogdan-Andrei Iancu
>
>       
>
>     OpenSIPS Founder and Developer
>
>        https://www.opensips-solutions.com
>
>     OpenSIPS Summit 2019
>
>        https://www.opensips.org/events/Summit-2019Amsterdam/
>
>     On 9/26/19 4:30 PM, olle at zaark.com <mailto:olle at zaark.com> wrote:
>
>         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;ob
>         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>
>         <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.4591f441>
>         <sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441>.
>
>         Max-Forwards: 70.
>
>         From: "0123456789" <sip:0123456789 at 172.25.0.25>
>         <sip:0123456789 at 172.25.0.25>;tag=v3rpgKD64K2me.
>
>         To: <sip:9876543210 at blfkfmne406w.zaark.com>
>         <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>
>         <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;ob
>         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.4591f441>
>         <sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441>.
>
>         Max-Forwards: 69.
>
>         From: "0123456789" <sip:0123456789 at 172.25.0.25>
>         <sip:0123456789 at 172.25.0.25>;tag=v3rpgKD64K2me.
>
>         To: <sip:9876543210 at blfkfmne406w.zaark.com>
>         <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>
>         <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
>
>
>
>
>         _______________________________________________
>
>         Users mailing list
>
>         Users at lists.opensips.org  <mailto: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/20190927/d6fe1d50/attachment-0001.html>


More information about the Users mailing list