[SR-Users] rr module not detecting nat=ws route param

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Tue Oct 2 17:27:41 CEST 2018


El Mon, 1 Oct 2018 12:16:28 +0300
Igor Olhovskiy <igorolhovskiy at gmail.com> escribió:

> Hi!
> 
> What is your original packet, before calling loose_route?
> 

2018/10/02 17:12:41.007053 OUT:5060 -> MYIP:5060

ACK sip:86to7j7i at MYIP:5060;alias=MY~42088~6;transport=ws;ob SIP/2.0 

Via: SIP/2.0/UDP OUT;branch=z9hG4bK9658.2fd077002f564d6398951beb959c7708.0 

Via:SIP/2.0/UDP OUT:5060;rport=5060;branch=z9hG4bK72288d3e 

Route:
<sip:MY;r2=on;lr=on;did=896.90e;nat=ws>,<sip:MY:2443;transport=ws;r2=on;lr=on;did=896.90e;nat=ws>

Max-Forwards: 69 

From: <sip:20 at domain>;tag=as7bbb1aa3 

To: <sip:10000105 at domain>;tag=d04lulkvk7

Contact: <sip:20 at OUT:5060> 

Call-ID: ocuh443d3c0l3mccpujr

CSeq: 102 ACK

Content-Length: 0


> Regards, Igor
> On Sep 28, 2018, 1:54 PM +0300, Jon Bonilla (Manwe) <manwe at aholab.ehu.es>,
> wrote:
> > Hi all. I'm having problems with an indialog ACK request which is not being
> > routed correctly.
> >
> > I call loose_route and print:
> >
> > $du=sip:MYIP:2443;transport=ws;r2=on;lr=on;did=1d1.7702;nat=ws
> > $route_uri=sip:MYIP;r2=on;lr=on;did=1d1.7702;nat=ws
> >
> > But when I call
> >
> > check_route_param("nat=ws") I get false result.
> >
> > version: kamailio 5.1.4
> >
> > any hints?
> >
> >
> >
> > cheers,
> >
> > Jon
> >
> >
> >
> >
> > --
> > https://pekepbx.com
> > https://www.issabel.com/multitenant
> >
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users  


-- 
https://pekepbx.com
https://www.issabel.com/multitenant



More information about the sr-users mailing list