Hi Mailinglist,
for my future me and anybody that had the same issue, the new uac parameter
default_socket + tcp_reuse_port fixed the issue for me.
https://github.com/kamailio/kamailio/commit/27b6f0aba06796f0c52e32fad809d3781b17ce6b
Thanks to Henning.
Cheers
Karsten Horsmann
Karsten Horsmann
Actually you can force the TCP socket (e.g. sending from the same socket
you are listening on) if the kernel has support for SO_REUSEPORT (linux >
3.9, FreeBSD, OSX) and you enable tcp_reuse_port in kamailio configuration (
https://www.kamailio.org/wiki/cookbooks/5.2.x/core#tcp_reuse_port).
Best,
On Wed, Jul 03, 2019 at 06:38:28PM +0200, Karsten Horsmann wrote:
> any one here that can imagine why force sendsocket generates an udp packet
> if the target accept only tcp? And without fs it generates an tcp packet.
> For uac registrations outbound?
Reading the cookbook documentation of
Hi List,
Hi Daniel,
any one here that can imagine why force sendsocket generates an udp packet
if the target accept only tcp? And without fs it generates an tcp packet.
For uac registrations outbound?
In my lab it's working without force send socket, cos the Paket is
generated with the first
Hello Daniel
i verifed that can send tcp with that public ip (used nc for that).
Hopefully the linux-networking is not the problem.
I tried method $fs="212.xx.xx.xx"; and force_send_socket("212.xx.xx.xx");
Both versions (with and without transport=tcp param) but kamailio sends out
via UDP.
Any
Hello,
does it happen for both UDP and TCP? Or only for TCP is the private
interface used? Normally should work no matter the transport, try to force
only ip with force_send_sock("x.y.z.w").
I assume that the IP routing rules allow traffic from private IP to public
addresses.
Cheers,
Daniel
On
Hi List,
after reading the corebook in the wiki and some issue reports (1), I think
it's not possible to force the outgoing ip for uac.so registration.
I saw traffic with
172.20.120.53:45689 - - - > reg.sip-trunk.telekom.de
So that's random highport generated traffic tcp traffic on the first