Re: [SR-Users] mhomed not working for tls destination
Hi, thank you for your reply, I have tried it at kamailio 5.5 and 5.6 versions, and there are two network interfaces. Actually, I have created a testing vm for this, with a simple almost default kamailio configuration. And yes, with forcing socket everything is working fine, but I just want to know maybe there is a kamailio params that allow "mhomed" params to work with tcp/tls destinations, or is it impossible by TCP design, or is it a kamailio bug. I wonder if anyone uses kamailio with 2+ network interfaces and uses tls and don't use $fs? -- Aidar __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] mhomed not working for tls destination
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 On Behalf Of Aidar Kamalov Sent: Friday, July 1, 2022 11:21 AM To: Kamailio (SER) - Users Mailing List 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 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[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 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users