<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Rodrigo,<br>
      <br>
      If I understand correctly, you get these errors (due failed
      connect attempt) when trying to deliver (from OpenSIPS) a call to
      a registered users who lost his TCP connection, right ?<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>
OpenSIPS Summit 2018
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
    <div class="moz-cite-prefix">On 02/20/2018 05:07 PM, Rodrigo Pimenta
      Carvalho wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CY4PR02MB23251A05C06C63B7B446E30AB5CF0@CY4PR02MB2325.namprd02.prod.outlook.com">
      <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,Helvetica,sans-serif;"
        dir="ltr">
        <p style="margin-top:0;margin-bottom:0">Hi.</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">My softphone is
          registered with the following AOR:</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">-------------------------------------------------------------------------------------</p>
        <div>    AOR:: g1r2u3p4o5<br>
                  Contact::
          <a class="moz-txt-link-freetext" href="sip:g1r2u3p4o5@127.0.0.1:50353;transport=TLS;ob">sip:g1r2u3p4o5@127.0.0.1:50353;transport=TLS;ob</a> Q=<br>
                      Expires:: 10<br>
                      Callid:: 53e387dc-81fe-45f9-a6f1-8a5cf4248d62<br>
                      Cseq:: 37190<br>
                      User-agent:: n/a<br>
                      Received:: <a class="moz-txt-link-freetext" href="sip:127.0.0.1:49678;transport=TLS">sip:127.0.0.1:49678;transport=TLS</a><br>
                      State:: CS_SYNC<br>
                      Flags:: 0<br>
                      Cflags:: NAT<br>
                      Socket:: tls:127.0.0.1:5061<br>
                      Methods:: 8063<br>
                      Attr:: in_same_network<br>
                      SIP_instance::
          <urn:uuid:00000000-0000-0000-0000-0000f53ec9ed></div>
-------------------------------------------------------------------------------------------------------------------------
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">Sometimes, when it
          receives a call and answers, the Opensips show the following
          error:</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <div>[21532] <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<br>
          [21532] <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: TCP keepalive enabled
          on socket 22<br>
          [21532] ERROR:core:tcp_connect_blocking: poll error: flags 28
          - 4 8 16 32<br>
          [21532] ERROR:core:tcp_connect_blocking: failed to retrieve
          SO_ERROR [server=127.0.0.1:50353] (111) Connection refused<br>
          [21532] ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect
          failed<br>
          [21532] ERROR:proto_tls:proto_tls_send: connect failed<br>
          [21532] ERROR:core:msg_send: send() for proto 3 failed<br>
          <br>
          Is there a way to avoid this kind of problem? That is, can I
          configure the OpenSIPS to renew some TCP connection?<br>
          <br>
          Any hint will be very helpful!<br>
          <br>
          Best regards.<br>
        </div>
        <br>
        <p style="margin-top:0;margin-bottom:0"><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>
      </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>