<div dir="ltr"><div><div dir="auto">Hello Daniel,</div><div dir="auto"><br></div><div dir="auto">No, there’s no routing to public from the private IP. It should go out via the public.</div><div dir="auto"><br></div><div dir="auto">I have not tried that, never had the need :)</div><div dir="auto"><br></div><div dir="auto">Using the socket worked nicely, thanks!</div><div dir="auto"><br></div><div>David</div><div dir="auto"><br></div><div dir="auto"><br></div></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 18 Mar 2020 at 16:15, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hello,</p>
<p>do you have IP routes from the first IP to the destination? Or
the keepalive fails, not being sent out?</p>
<p>Also, have you tried setting the socket attribute per
destination?</p>
<p>Cheers,<br>
Daniel<br>
</p></div><div>
<div>On 18.03.20 17:09, David Villasmil
wrote:<br>
</div>
</div><div><blockquote type="cite"></blockquote></div><div><blockquote type="cite">
<div dir="auto">Hello,</div>
<div dir="auto"><br>
</div>
<div dir="auto">It seems kamailio is selecting the local ip
wrongly when selecting the socket with which to send out
OPTIONS.</div>
<div dir="auto"><br>
</div>
<div dir="auto">This is 5.2.3, and i have multiple IPs</div>
<div dir="auto"><br>
</div>
<div dir="auto">Listen=ip1 (private)</div>
<div dir="auto"><span style="border-color:rgb(0,0,0);color:rgb(0,0,0)">Listen=ip2
(public)</span><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">And when the options goes out, it goes via the
first ip instead of the one through which it can reach the
OPTIONS destination (public IP). I have mhomed=1 set</div>
<div dir="auto"><br>
</div>
<div dir="auto">This is using dispatcher.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Has anyone seen this behaviour?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks all</div>
<div dir="auto"><br>
</div>
<div dir="auto">David</div>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>Regards,</div>
<div><br>
</div>
David Villasmil
<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div>
<div>phone: +34669448337</div>
</div>
</div>
<br>
<fieldset></fieldset>
</blockquote></div><div><blockquote type="cite"><pre style="font-family:monospace">_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" style="font-family:monospace" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" style="font-family:monospace" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote></div><div><blockquote type="cite">
</blockquote>
<pre cols="72" style="font-family:monospace">--
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" style="font-family:monospace" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" style="font-family:monospace" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" style="font-family:monospace" target="_blank">www.linkedin.com/in/miconda</a></pre>
</div>
</blockquote></div></div>