<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-cite-prefix">On 18.03.20 17:09, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFGRPVpHV+mu1F8g_JcMnqeaWvauSdx=oCP1pEjHg-0WSjQitw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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" class="gmail_signature"
        data-smartmail="gmail_signature">
        <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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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>