<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>so for better knowing what happened -- the keepalives were not
      sent out before setting the socket field, when using the private
      socket, were there kamailio errors in the logs? Or the OPTIONS
      ended up in retransmission timeout?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 18.03.20 19:07, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFGRPVrpO9Zow+Bi3pOhcXR37g=gSnj08F18wmQm+U9zQj-7OQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
              moz-do-not-send="true">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">
                <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" moz-do-not-send="true">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" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" style="font-family:monospace" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" style="font-family:monospace" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" style="font-family:monospace" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
  </body>
</html>