<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you see if the socket lists includes the IP address giving
    problems? Use the command:<br>
    <br>
    kamcmd core.sockets_list<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 02/03/16 10:14, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB112-W52F8EDCB49F68839725038BDBC0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">
        <div>Hi Guys,</div>
        <div><br>
        </div>
        <div>Using Centos 6.7, kamailio 4.2 and Ucarp I am testing
          multiple VIPs on the same server and having some issues.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I have ucarp running, with  1 Public and 1 Private VIP
          defined, and both are pingable and failover in a cluster.</div>
        <div><br>
        </div>
        <div>The Public is for Subscribers to Register with, and the
          Private for Communication to the Asterisk media servers behind
          it.</div>
        <div><br>
        </div>
        <div>My problem is kamailio when started states its listening on
          both the VIPS, however when I try and force_socket over the
           Private IP address, it states </div>
        <div><br>
        </div>
        <div> ERROR: <core> [forward.c:218]: get_out_socket(): no
          socket found</div>
        <div>Mar  1 20:04:35 bt1proxy1 /usr/sbin/kamailio[20372]: ERROR:
          <core> [forward.c:220]: get_out_socket(): no
          corresponding socket found for(udp:10.70.0.72:5080)</div>
        <div>Mar  1 20:04:35 bt1proxy1 /usr/sbin/kamailio[20372]: ERROR:
          tm [t_fwd.c:520]: prepare_new_uac(): ERROR: can't fwd to af 2,
          proto 1  (no corresponding listening socket)</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>This is when listening on the VIP which is 10.70.0.75 and I
          also look to force_socket out of this IP.  It just doesnt
          work, however  if I use the physical interface on the server,
          that being 10.70.0.70, it works fine and forwards requests on
          the Private LAN.</div>
        <div><br>
        </div>
        <div>I have added net.ipv4.ip_nonlocal_bind = 1 to sysctl.conf
          as well but no joy.</div>
        <div><br>
        </div>
        <div>If 1 VIP is defined I have no issue, its just with 2, has
          anyone had this issue before ?</div>
        <div><br>
        </div>
        <div>Any help would be great.</div>
        <div><br>
        </div>
        <div>Many thanks</div>
        <div><br>
        </div>
        <div>Jon</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, March 7-9, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>