Hello,
which version of Kamailio do you use? In older version there have been some problems which
are fixed now.
Generally speaking, the more complicated (like number of interfaces) your setup is, the
more difficult it gets for Kamailio to pick the right interface.
You could of course always use the manual way with $fs and other methods.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Aidar Kamalov
Sent: Friday, July 1, 2022 11:21 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] mhomed not working for tls destination
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