<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
opening the tcp connection failed due to timeout, indicating that no
one was listening on the target address, which seems to be
172.56.8.182:44341 -- is any app listening at that address?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 01/04/16 20:37, Ed Todd wrote:<br>
</div>
<blockquote cite="mid:BF8A643EB03442B7A87F8F444C2A6B2B@EdPrimaryPC"
type="cite">
<div dir="ltr">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR:
#000000">
<h1 style="MARGIN: 12pt 0in 0pt; LINE-HEIGHT: 17pt"><font
face="Calibri Light"><font style="FONT-SIZE: 16pt"
color="#2e74b5"><font style="FONT-WEIGHT: normal">KAMAILIO
tcp_send query, connection problem</font></font></font></h1>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">I have a KAMAILIO SIP
server on a static IP from Comcast, using a modem/router
Cisco DPC39412B.</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">I have a PC application
server which is successfully signing on to the SIP server,
via a LAN cable on the same network as the SIP server
(Cisco). </font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">In my second test, the
PC application server is connected to the internet via a
ZTE Falcon Z-917. In a third test, the PC application
server is connected to the internet via a Talk-Talk fiber
broadband. The connection does not occur.</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">From the log files, the
successful connection says:</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 10:44:30 SIP-Server kamailio[7817]:
DEBUG: <core> [tcp_main.c:2281]:
tcpconn_send_put(): tcp_send: send from reader (7817
(14)), reusing fd</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 10:44:30 SIP-Server kamailio[7817]:
DEBUG: <core> [tcp_main.c:2516]:
tcpconn_do_send(): tcp_send: sending...</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 10:44:30 SIP-Server kamailio[7817]:
DEBUG: <core> [tcp_main.c:2550]:
tcpconn_do_send(): tcp_send: after real write: c=
0x7f6270b8a4a0 n=565 fd=1</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">On the failed
connection:</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:23 SIP-Server kamailio[7816]:
DEBUG: <core> [tcp_main.c:1818]: tcp_send():
tcp_send: no open tcp connection found, opening new one</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:23 SIP-Server kamailio[7816]:
DEBUG: <core> [ip_addr.c:243]: print_ip():
tcpconn_new: new tcp connection: 192.168.0.146</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:23 SIP-Server kamailio[7816]:
DEBUG: <core> [tcp_main.c:1073]: tcpconn_new():
tcpconn_new: on port 55133, type 3</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:23 SIP-Server kamailio[7816]:
DEBUG: <core> [tcp_main.c:1382]: tcpconn_add():
tcpconn_add: hashes: 1776:802:0, 803</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:23 SIP-Server kamailio[7816]:
DEBUG: tls [tls_server.c:184]: tls_complete_init():
Using TLS domain TLSc<default</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">A while later, I get:</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:37 SIP-Server kamailio[7804]:
DEBUG: usrloc [urecord.c:357]: wb_timer(): Binding
'hvs_us_iphone','<a class="moz-txt-link-freetext" href="sip:hvs_us_iphone@172.56.8.182:44341;transport=TLS;line=75dc89bd64369c7">sip:hvs_us_iphone@172.56.8.182:44341;transport=TLS;line=75dc89bd64369c7</a>'
has expired</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:38 SIP-Server kamailio[7820]:
DEBUG: <core> [tcp_main.c:4320]:
tcpconn_main_timeout(): tcp_main: entering timer for
0x7f6270b8a4a0 (ticks=862851529, timeout=862909176 (3602
s), wr_timeout=862851529 (0 s)), write queue: 197 bytes</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:38 SIP-Server kamailio[7820]:
ERROR: <core> [tcp_main.c:4338]:
tcpconn_main_timeout(): connect 192.168.0.146:55133
failed (timeout)</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><i style="mso-bidi-font-style: normal"><font
style="FONT-SIZE: 11pt">Apr<span style="mso-spacerun:
yes"> </span>1 09:41:38 SIP-Server kamailio[7820]:
DEBUG: <core> [tcp_main.c:4362]:
tcpconn_main_timeout(): tcp_main: timeout for
0x7f6270b8a4a</font></i></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">Any clues or tips would
be greatly appreciated!</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"> </p>
<p class="MsoNormal" style="MARGIN: 0in 0in 8pt; LINE-HEIGHT:
12pt"><font style="FONT-SIZE: 11pt">Ed</font></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>