[sr-dev] [kamailio/kamailio] New branch in DNS SRV failover is using wrong source socket (#2152)

Daniel-Constantin Mierla notifications at github.com
Thu Nov 28 08:22:10 CET 2019


First, you have to set mhomed=1.

However, if you have an IP route from the first network interface to the second target address, then it is not going to help. The kernel will say that the first network interface is still good to use. You have to isolate ip routing between the two networks.

Via DNS SRV is no way to specify what local socket/network interface to use, Kamailio relies on the kernel to say which local ip has a route to the target.

If you cannot isolate the IP routing to get it work with mhomed=1, the alternative is to use dispatcher where you can specify the local socket for each destination.

In case you want to discuss further, then use sr-users mailing list. This doesn't look like an issue in the code.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2152#issuecomment-559373063
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191127/6e9a8c91/attachment.html>


More information about the sr-dev mailing list