When having Kamailio listen for TLS on some alternative port other than 5061 - the myself
condition doesn't match.
kamailio.cfg
enable_tls=yes
tls_port_no=9061
listen=192.168.2.2:9061 advertise "mydomain.com":9061
request_route {
if (uri==myself)
xlog("L_INFO", "myself matched\n");
else
xlog("L_INFO", "myself didn't match\n");
}
Send a SIP request to Kamailio over TLS on port 9061 but RURI like 192.168.2.2;transport=tls
and observe the log output.
(paste your debugging data here)
(paste your log messages here)
OPTIONS sip:192.168.2.2;transport=tls SIP/2.0
Via:SIP/2.0/TLS 10.10.10.10:8934;branch=z9hG4bKfhsdjh2478sdfh256
From:<sip:10.10.10.10>;tag=834848136-1699739
To:<sip:192.168.2.2>
Call-ID:SSE2150339541111236507
CSeq:100 OPTIONS
Max-Forwards:0
Content-Length:0
kamailio -v
version: kamailio 5.6.4 (x86_64/linux) 239d0a
Debian GNU/Linux 11 (bullseye)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.