<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Matt,<br>
<br>
That is not actually an error, is OpenSIPS complaining that is not
able to open a TCP connection towards the wanted destination (one
of yours UACs) - see the "Connection refused" error log.<br>
<br>
Why ? if there is no limitation on the network level (NAT,
firewall, etc), then it means the registered contact (of an UAC)
is not correctly pointing to the listening interface of the UAC ,
making OpenSIPS to try to open a TCP conn to a wrong destination.<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 10.09.2015 18:09, Matt Hamilton
wrote:<br>
</div>
<blockquote
cite="mid:DM3PR1201MB11182991832FAE066C0567A7B3510@DM3PR1201MB1118.namprd12.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;"><br>
In one of our calling scenarios, INVITEs are sent via TLS to
multiple UACs in an office (all ring, one picks up). The UACs
are not NATed. Once in a while, we get tcp_connect error from
one of the phones. None of the tcp related parameters (e.g.
tcp_connection_lifetime, etc.) are set in our script, so they
all use default values. <br>
<br>
<br>
INVITE RURI: <a class="moz-txt-link-abbreviated" href="mailto:sip:585@172.16.13.164:5070;transport=tls">sip:585@172.16.13.164:5070;transport=tls</a><br>
INVITE RURI: <a class="moz-txt-link-abbreviated" href="mailto:sip:584@172.16.13.165:5061;transport=tls">sip:584@172.16.13.165:5061;transport=tls</a><br>
INVITE RURI: <a class="moz-txt-link-abbreviated" href="mailto:sip:583@172.16.13.162:5077;transport=tls">sip:583@172.16.13.162:5077;transport=tls</a><br>
INVITE RURI: <a class="moz-txt-link-abbreviated" href="mailto:sip:582@172.16.13.166:5070;transport=tls">sip:582@172.16.13.166:5070;transport=tls</a><br>
INVITE RURI: <a class="moz-txt-link-abbreviated" href="mailto:sip:581@172.16.13.163:5068;transport=tls">sip:581@172.16.13.163:5068;transport=tls</a><br>
<br>
The error appears to be in either one of the two forms below:<br>
<br>
ERROR:core:tcp_blocking_connect: poll error: flags 24 - 4 8 16
32 <br>
<p>ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR
[server=172.16.13.164:5070] (111) Connection refused<br>
ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>
ERROR:core:tcp_send: connect failed<br>
ERROR:tm:msg_send: tcp_send failed<br>
ERROR:tm:t_forward_nonack: sending request failed</p>
<p><br>
</p>
<p>or</p>
<p><br>
</p>
<p>ERROR:core:tcp_blocking_connect: timeout 99170 ms elapsed
from 100 ms<br>
ERROR:core:tcpconn_connect: tcp_blocking_connect failed<br>
ERROR:core:tcp_send: connect failed<br>
ERROR:tm:msg_send: tcp_send failed<br>
ERROR:tm:t_forward_nonack: sending request failed</p>
<p><br>
</p>
<p>How should I proceed to get to the bottom of this? Any
parameters I should look into?<br>
<br>
Thanks,</p>
<p>Matt<br>
</p>
</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>