<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Rodrigo,<br>
      <br>
      You have an xlog with a missing newline "\n", and the error log
      from DB SQLite ("Mar 16 18:09:17...") gets appended to your
      previous xlog debugging.<br>
      <br>
      Notice you are trying to t_relay() to a private IP,
      192.168.110.118:53803, and this fails for some reason. Make sure
      you are properly handling NAT, if you indeed have such clients.<br>
    </tt>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS 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 16.03.2016 21:02, Rodrigo Pimenta
      Carvalho wrote:<br>
    </div>
    <blockquote
cite="mid:BY2PR02MB16550A95A094724F0DACF4B3B58A0@BY2PR02MB1655.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;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"><span
          style="color: rgb(0, 111, 201);"></span>
        <p>Hi.</p>
        <p><br>
        </p>
        <p>I'm using OpenSIPS 2.2 and testing calls between callers and
          callees. Everything was working well until the log shows the
          "AOR is Removed from DBMar..." message.</p>
        <p><br>
        </p>
        <p>The log says:</p>
        <p><br>
        </p>
        <p><i>Mar 16 18:09:17 colibri-imx6 opensips[12698]: Mar 16
            18:09:17 [12707] ERROR:core:tcpconn_async_connect: poll
            error: flags 1c<br>
            Mar 16 18:09:17 colibri-imx6 opensips[12698]: Mar 16
            18:09:17 [12707] ERROR:core:tcpconn_async_connect: failed to
            retrieve SO_ERROR [server=192.168.100.118:53803] (111)
            Connection refused<br>
            Mar 16 18:09:17 colibri-imx6 opensips[12698]: Mar 16
            18:09:17 [12707] ERROR:core:proto_tcp_send: async TCP
            connect failed<br>
            Mar 16 18:09:17 colibri-imx6 opensips[12698]: Mar 16
            18:09:17 [12707] ERROR:tm:msg_send: send() for proto 2
            failed<br>
            Mar 16 18:09:17 colibri-imx6 opensips[12698]: Mar 16
            18:09:17 [12707] ERROR:tm:t_forward_nonack: sending request
            failed<br>
            Mar 16 18:09:17 colibri-imx6 opensips[12698]: <b>AOR of
              crdphmacl_7UyWRH444yVH is Removed from DBMar 16 18:09:17
              [12707] ERROR:db_sqlite:db_sqlite_free_result: invalid
              parameter val</b></i></p>
        <p><i><b><br>
            </b></i></p>
        <p>Now, the client that has username equals to " <i><b>crdphmacl_7UyWRH444yVH</b></i>"
          cannot receive calls any more. But he still can make (start)
          calls. I still didn't reset such client.</p>
        <p>I can't understand this issue, because the AOR still remains
          in the location table. See:</p>
        <p><br>
        </p>
        <p>AOR:: crdphmacl_7UyWRH444yVH<br>
              Contact::
          <a class="moz-txt-link-abbreviated" href="mailto:sip:crdphmacl_7UyWRH444yVH@192.168.100.118:53803;transport=TCP;ob">sip:crdphmacl_7UyWRH444yVH@192.168.100.118:53803;transport=TCP;ob</a>
          Q=<br>
                  Expires:: 268<br>
                  Callid:: 152917ae-5a51-48ac-97da-99d8318bf702<br>
                  Cseq:: 8900<br>
                  User-agent:: n/a<br>
                  State:: CS_SYNC<br>
                  Flags:: 0<br>
                  Cflags:: <br>
                  Socket:: tcp:192.168.100.166:5060<br>
                  Methods:: 8063<br>
                  Attr:: in_same_network<br>
                  SIP_instance::
          &lt;urn:uuid:00000000-0000-0000-0000-0000b891c0f5&gt;<br>
        </p>
        <p><br>
        </p>
        <p>So, what is the problem here?<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>
      </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>