<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Rodrigo,<br>
      <br>
      Yes, probably there were TCP contacts left over in location table
      - and when OpenSIPS was trying to use them, it was attempting to
      open a TCP connection to the IP indicated by the contact (where of
      course, nobody was listening).<br>
      <br>
      That is SIP :). Maybe you should try to lower the registration
      duration for TCP contacts. OR , if using 2.2, you can do pinging
      with auto-removal of un-reachable contacts.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 04.10.2016 16:26, Rodrigo Pimenta
      Carvalho wrote:<br>
    </div>
    <blockquote
cite="mid:BN6PR02MB2721187BDF06F26DCC2243FBB5C50@BN6PR02MB2721.namprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hi.</p>
        <p>In my table location (in OpenSIPS) I found some records for a
          peer that was not online. That is, some peer offline let some
          registers in the location table.</p>
        <p>For example: the peer A registered itself using several
          different devices, then turned off all of such devices.</p>
        <p><br>
        </p>
        <p>Such records would expires sometime in the future.</p>
        <p><br>
        </p>
        <p>Then, peer B called A, and in this moment I saw a log with
          several erros, from OpenSIPs.</p>
        <p>Does such logs relates to these invalid records in table
          location?</p>
        <p><br>
        </p>
        <p>After removing these records (opensipsctl ul rm ....) those
          messages stopped appearing in the log. See the log below.</p>
        <p><br>
        </p>
        <p>Any hint will be very helpful!</p>
        <p>Best regards.<br>
        </p>
        <p><br>
        </p>
        <div id="Signature">
          <div name="divtagdefaultwrapper"
            style="font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:; margin:0">
            <div class="BodyFragment"><font size="2">
                <div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
                  Inatel Competence Center<br>
                  Software<br>
                  Ph: +55 35 3471 9200 RAMAL 979<br>
                </div>
              </font></div>
          </div>
        </div>
        <br>
        <br>
        <div style="color: rgb(0, 0, 0);">
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr">
            <div> </div>
          </div>
          <div>
            <div id="divtagdefaultwrapper" style="font-size:12pt;
              color:#000000;
              font-family:Calibri,Arial,Helvetica,sans-serif">
              <p><br>
              </p>
              <div>Jan 01 01:19:16 colibri-imx6 opensips[609]: new
                branch at
                <a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@127.0.0.1:47340;transport=TCP;ob">sip:g1r2u3p4o5@127.0.0.1:47340;transport=TCP;ob</a></div>
              <div>Jan 01 01:19:16 colibri-imx6 opensips[609]: new
                branch at
                <a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@127.0.0.1:54112;transport=TCP;ob">sip:g1r2u3p4o5@127.0.0.1:54112;transport=TCP;ob</a></div>
              <div>Jan 01 01:19:16 colibri-imx6 opensips[609]: new
                branch at
                <a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@127.0.0.1:38220;transport=TCP;ob">sip:g1r2u3p4o5@127.0.0.1:38220;transport=TCP;ob</a></div>
              <div>Jan 01 01:19:16 colibri-imx6 opensips[609]: new
                branch at
                <a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@127.0.0.1:54112;transport=TCP;ob">sip:g1r2u3p4o5@127.0.0.1:54112;transport=TCP;ob</a></div>
              <div>Jan 01 01:19:16 colibri-imx6 opensips[609]: new
                branch at
                <a class="moz-txt-link-abbreviated" href="mailto:sip:g1r2u3p4o5@127.0.0.1:38220;transport=TCP;ob">sip:g1r2u3p4o5@127.0.0.1:38220;transport=TCP;ob</a></div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 21</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:47340] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 21</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:54112] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 21</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:54112] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [616] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 23</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:47340] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 23</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:54112] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:16 [617] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 23</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:47340] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd
                buffer of 320 kb</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP
                keepalive enabled on socket 23</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:tcpconn_async_connect: poll
                error: flags 1c</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:tcpconn_async_connect: failed
                to retrieve SO_ERROR [server=127.0.0.1:54112] (111)
                Connection refused</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:core:proto_tcp_send: async TCP
                connect failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:tm:msg_send: send() for proto 2
                failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Jan  1
                01:19:17 [617] ERROR:tm:t_forward_nonack: sending
                request failed</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: od:
                invalid option -- 'A'</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: BusyBox
                v1.22.1 (2016-06-21 17:18:12 BRT) multi-call binary.</div>
              <div>Jan 01 01:19:17 colibri-imx6 opensips[609]: Usage: od
                [-aBbcDdeFfHhIiLlOovXx] [FILE]</div>
              <div>Jan 01 01:19:18 colibri-imx6 opensips[609]: Ignoring
                callid  "7842873d-5947-47ec-8b07-3e29e02550a3"</div>
              <div><br>
              </div>
              <br>
              <div id="Signature"><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>