<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        The logs show your OpenSIPS trying to connect via TCP to the
        80.x.x.x IP, but not connection accepted. Is that destination
        supposed to accept TCP conns ??<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>
      On 16.07.2014 14:27, <a class="moz-txt-link-abbreviated" href="mailto:mimicafe@gmail.com">mimicafe@gmail.com</a> wrote:<br>
    </div>
    <blockquote
cite="mid:CAOqrB6bzno_WZQwu3CQD0cFe=-J=LQ-rZpp9xMEZ1Dsr5D_R=w@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div><br>
        </div>
        <div>&nbsp;</div>
        <div>My OpenSips version 1.11 has two domains (192.168.x.x and
          80.x.x.x ) configured. and I can call devices within my LAN,
          however I am unable to make calls from a device connected
          outside my LAN. The error message I receive in SIP client
          (zoiper) says "bearer capability not authorized"</div>
        <div><br>
        </div>
        <div>Captured from tcpdump</div>
        <div>=================</div>
        <div><br>
        </div>
        <div>
          <div>To: "225"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "225"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=a9cb7912</div>
          <div>&nbsp; &nbsp; 79-77-161-61.static.com.56005 &gt; kalahari.sip: [udp
            sum ok] SIP, length: 437</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; SIP/2.0 200 OK</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
            192.168.18.95:5060;branch=z9hG4bKad43.07e1d524.0</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From: "225"
            <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=a9cb7912</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To: "225" <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; kalahari.sip &gt; 119.25.x.x.65301: [bad udp cksum
            7cf9!] SIP, length: 370</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; SIP/2.0 200 OK</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:65301;received=119.25.x.x;branch=z9hG4bK-d8754z-bc834ff08b6c2390-1---d8754z-;rport=65301</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From: "225"
            <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=a9cb7912</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To: "225" <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; 192.168.18.90.51422 &gt; kalahari.sip: [udp sum ok]
            SIP, length: 4</div>
          <div><br>
          </div>
          <div><span class="" style="white-space:pre"> </span></div>
          <div><span class="" style="white-space:pre"> </span>
            119.25.x.x.48917 &gt; kalahari.sip: [udp sum ok] SIP,
            length: 947</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; INVITE <a class="moz-txt-link-abbreviated" href="mailto:sip:118@80.x.x.x;transport=UDP">sip:118@80.x.x.x;transport=UDP</a> SIP/2.0</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Contact:
            <a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@119.25.x.x:58101;transport=UDP">&lt;sip:mark@119.25.x.x:58101;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:118@80.x.x.x;transport=UDP">&lt;sip:118@80.x.x.x;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "225"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=9723c429</div>
          <div>&nbsp; &nbsp; kalahari.sip &gt; 119.25.x.x.48917: [bad udp cksum
            7744!] SIP, length: 445</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; SIP/2.0 403 Rely forbidden</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport=48917</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:118@80.x.x.x;transport=UDP">&lt;sip:118@80.x.x.x;transport=UDP&gt;</a>;tag=cd2066e24f03c06d9551847de38fddf4.85c4</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "225"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=9723c429</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Server: OpenSIPS (1.11.2-notls (x86_64/linux))</div>
          <div>&nbsp; &nbsp; 119.25.x.x.48917 &gt; kalahari.sip: [udp sum ok] SIP,
            length: 402</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; ACK <a class="moz-txt-link-abbreviated" href="mailto:sip:118@80.x.x.x;transport=UDP">sip:118@80.x.x.x;transport=UDP</a> SIP/2.0</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-215889e426d83ce1-1---d8754z-;rport</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:118@80.x.x.x;transport=UDP">&lt;sip:118@80.x.x.x;transport=UDP&gt;</a>;tag=cd2066e24f03c06d9551847de38fddf4.85c4</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "225"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mark@80.x.x.x;transport=UDP">&lt;sip:mark@80.x.x.x;transport=UDP&gt;</a>;tag=9723c429</div>
          <div>&nbsp; &nbsp; 119.25.x.x.48917 &gt; kalahari.sip: [udp sum ok] SIP,
            length: 1000</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; PUBLISH <a class="moz-txt-link-abbreviated" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">sip:mimi2025@80.x.x.x;transport=UDP</a>
            SIP/2.0</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:48917;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Contact:
            <a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@119.25.x.x:58124;transport=UDP">&lt;sip:mimi2025@119.25.x.x:58124;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To:
            "2025"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">&lt;sip:mimi2025@80.x.x.x;transport=UDP&gt;</a></div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "2025"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">&lt;sip:mimi2025@80.x.x.x;transport=UDP&gt;</a>;tag=b92a7026</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            entity=<a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">"sip:mimi2025@80.x.x.x;transport=UDP"</a>&gt;</div>
          <div>&nbsp; &nbsp; kalahari.sip &gt; 119.25.x.x.48917: [bad udp cksum
            2c31!] SIP, length: 458</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; SIP/2.0 403 Rely forbidden</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Via: SIP/2.0/UDP
119.25.x.x:48917;received=119.25.x.x;branch=z9hG4bK-d8754z-d29d6b2a15a8a5cd-1---d8754z-;rport=48917</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; To:
"2025"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">&lt;sip:mimi2025@80.x.x.x;transport=UDP&gt;</a>;tag=cd2066e24f03c06d9551847de38fddf4.1763</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; From:
            "2025"<a class="moz-txt-link-rfc2396E" href="mailto:sip:mimi2025@80.x.x.x;transport=UDP">&lt;sip:mimi2025@80.x.x.x;transport=UDP&gt;</a>;tag=b92a7026</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; Server: OpenSIPS (1.11.2-notls (x86_64/linux))</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>In addition, I noticed the following errors in my opensip
          log.&nbsp;I removed the 80.x.x.x domain earlier on from OpenSIPS CP
          and verified in the database that it was gone, but th error
          continue to appear in the log.<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>l 16 11:27:26 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR
            [server=80.x.x.x:5060] (111) Connection refused</div>
          <div>Jul 16 11:27:26 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div>
          <div>Jul 16 11:27:26 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcp_send: connect failed</div>
          <div>Jul 16 11:27:26 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:tm:msg_send: tcp_send failed</div>
          <div>Jul 16 11:27:26 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:tm:t_forward_nonack: sending request failed</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 244 kb</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: -- TCP keepalive enabled on
            socket</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8
            16 32</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR
            [server=80.x.x.x:5060] (111) Connection refused</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:core:tcp_send: connect failed</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:tm:msg_send: tcp_send failed</div>
          <div>Jul 16 11:27:35 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1009]:
            ERROR:tm:t_forward_nonack: sending request failed</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]: new branch at
<a class="moz-txt-link-abbreviated" href="mailto:sip:test173@80.25.30.125:51422;rinstance=52fefdca37453185;transport=TCP">sip:test173@80.25.30.125:51422;rinstance=52fefdca37453185;transport=TCP</a></div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 244 kb</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: -- TCP keepalive enabled on
            socket</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8
            16 32</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR
            [server=80.x.x.x:51422] (111) Connection refused</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:core:tcpconn_connect: tcp_blocking_connect failed</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:core:tcp_send: connect failed</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:tm:msg_send: tcp_send failed</div>
          <div>Jul 16 11:28:53 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]:
            ERROR:tm:t_forward_nonack: sending request failed</div>
          <div>Jul 16 11:30:43 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1006]: new branch at
<a class="moz-txt-link-abbreviated" href="mailto:sip:test173@80.25.30.125:51422;rinstance=8a88a3fada65af33;transport=UDP">sip:test173@80.25.30.125:51422;rinstance=8a88a3fada65af33;transport=UDP</a></div>
          <div>Jul 16 11:30:43 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1001]: incoming reply</div>
          <div>Jul 16 11:30:44 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1004]: incoming reply</div>
          <div>Jul 16 11:30:54 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1001]: incoming reply</div>
          <div>Jul 16 11:32:28 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1014]:
            <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 244 kb</div>
          <div>Jul 16 11:32:28 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1014]:
            <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: -- TCP keepalive enabled on
            socket</div>
          <div>Jul 16 11:32:47 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1014]:
            <a class="moz-txt-link-freetext" href="INFO:core:probe_max_sock_buff">INFO:core:probe_max_sock_buff</a>: using snd buffer of 244 kb</div>
          <div>Jul 16 11:32:47 kalahari
            /usr/local/opensips_1.11/sbin/opensips[1014]:
            <a class="moz-txt-link-freetext" href="INFO:core:init_sock_keepalive">INFO:core:init_sock_keepalive</a>: -- TCP keepalive enabled on
            socket</div>
          <div><br>
          </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>