Hello,

I have faced an issue when mhomed parameter working well only for udp destinations in systems with multiple network interfaces.
If kamailio forward call to the UDP destination, mhomed option chooses the correct Via and the correct network interface for sending.
But if the destination is tls, mhomed chooses first described in configuration file "listen=" interface and use this IP in Via header

Network routes in the system are correct and "ip r get IP" returns the correct route and interface.


Should mhomed work with tcp/tls or is this impossible with TCP design?

--
Aidar