<div dir="ltr"><div>mhomed =1 will make sure that the outgoing interface towards user A is the interface on which user A has registered. <br></div><div>Hence you need to be very very careful with mhomed=1. <br></div><div>I use force_send_socket when I a have a mixed environment (e.g users that register, connection to provider without registration, etc). <br></div><div><br></div><div>these are my 2 drops of wisdom :-)</div><div><br></div><div>as for BIN, that I can't explain as I never used that type of interface.<br></div><br><div>. </div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op di 30 jul. 2019 om 17:16 schreef Vitalii Aleksandrov <<a href="mailto:vitalik.voip@gmail.com">vitalik.voip@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Have a problem with a multihomed proxy which doesn't select outgoing <br>
interface correctly. Found similar topics where people discussed usage <br>
of force_send_socket() when they want to force opensips to use some <br>
interface.<br>
<br>
As far as I understood "mhomed=1" is the option which forces opensips to <br>
select a proper outgoing interface in multihomed environment. This <br>
options really works, but unfortunately only for UDP. When opensips has <br>
multiple TCP / TLS / BIN interfaces, opensips just takes the first from <br>
the list which is not always correct and fails to establish an outgoing <br>
connection.<br>
<br>
Since I have a module that detects an outgoing interface I can use this <br>
info with $fs to force correct socket for SIP. Unfortunately this trick <br>
doesn't work for BIN and it's not possible to setup a multihomed <br>
opensips with clustering neighbors in both internal and external networks.<br>
<br>
Is there any workaround for BIN?<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>