<div><div dir="auto">I saw no errors in the log, I suppose there was a timeout, since the gateway was being disabled by the module.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Mar 2020 at 13:59, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
  
    
  
  <div>
    <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><div>
    <div>On 18.03.20 19:07, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
            <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">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>
    </blockquote>
    <pre cols="72" style="font-family:monospace">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" style="font-family:monospace">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank" style="font-family:monospace">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" style="font-family:monospace">www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div></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">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>