No subject


Wed Jan 27 21:05:54 CET 2016


ght? Unfortunately I don't know why it does that, perhaps the best thing to=
 do is to check the client's logs.<br>
<blockquote type=3D"cite">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt; color:#000000; fo=
nt-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id=3D"Signature">
<div name=3D"divtagdefaultwrapper" style=3D"font-family:Calibri,Arial,Helve=
tica,sans-serif; font-size:; margin:0">
<div class=3D"BodyFragment"><font size=3D"2">
<div class=3D"PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style=3D"color:rgb(0,0,0)">
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" color=
=3D"#000000" face=3D"Calibri, sans-serif"><b>De:</b>
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:users-bounces at lists.op=
ensips.org">
users-bounces at lists.opensips.org</a> <a class=3D"moz-txt-link-rfc2396E" hre=
f=3D"mailto:users-bounces at lists.opensips.org">
&lt;users-bounces at lists.opensips.org&gt;</a> em nome de R=E3zvan Crainea <a=
 class=3D"moz-txt-link-rfc2396E" href=3D"mailto:razvan at opensips.org">
&lt;razvan at opensips.org&gt;</a><br>
<b>Enviado:</b> quarta-feira, 26 de outubro de 2016 13:08<br>
<b>Para:</b> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:users at lis=
ts.opensips.org">
users at lists.opensips.org</a><br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Is it a kind of TCP keep alive produce=
d by OpenSIPS?</font>
<div>&nbsp;</div>
</div>
<div><tt>Hi, Rodrigo!<br>
<br>
The logs you are tracing are printed when OpenSIPS receives something from =
the client, and then immediately responds back. Due to the fact that we don=
't see any other debug messages, like SIP parsing &amp; stuff, makes me thi=
nk that it is a CRLF pinging - the client
 periodically sends a CRLFCRLF TCP message to OpenSIPS, and OpenSIPS respon=
ds with a single CRLF. Note that this is different from a TCP keep-alive, w=
here each peer send a 0-length TCP message, without any body. That message =
doesn't even get to the application
 layer.<br>
However, tracing the communication between OpenSIPS and the client should c=
onfirm the above :).<br>
<br>
Best regards,<br>
</tt>
<pre class=3D"moz-signature" cols=3D"72">R=E3zvan Crainea=0A=
OpenSIPS Solutions=0A=
<a previewremoved=3D"true" id=3D"LPlnk872928" class=3D"moz-txt-link-abbrevi=
ated" href=3D"http://www.opensips-solutions.com">www.opensips-solutions.com=
</a></pre>
<div id=3D"LPBorder_GT_14774896262840.7749040558889541" style=3D"margin-bot=
tom:20px; overflow:auto; width:100%; text-indent:0px" contenteditable=3D"fa=
lse">
<table id=3D"LPContainer_14774896262790.8131331098353491" style=3D"width:90=
%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padd=
ing-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); b=
order-bottom:1px dotted rgb(200,200,200)" cellspacing=3D"0">
<tbody>
<tr style=3D"border-spacing:0px" valign=3D"top">
<td colspan=3D"2" id=3D"TextCell_14774896262810.25225818451243276" style=3D=
"vertical-align:top; padding:0px; display:table-cell">
<div id=3D"LPTitle_14774896262810.20247837430869875" style=3D""><a target=
=3D"_blank" href=3D"http://www.opensips-solutions.com/" id=3D"LPUrlAnchor_1=
4774896262820.020496668580710642" style=3D"text-decoration:none">Home =97 O=
penSIPS Solutions</a></div>
<div id=3D"LPMetadata_14774896262820.29194839532997063" style=3D""><a class=
=3D"moz-txt-link-abbreviated" href=3D"http://www.opensips-solutions.com">ww=
w.opensips-solutions.com</a></div>
<div id=3D"LPDescription_14774896262830.7344774807265421" style=3D"">OpenSI=
PS is a mature Open Source implementation of a SIP server. OpenSIPS is more=
 than a SIP proxy/router as it includes application-level functionalities.<=
/div>
</td>
</tr>
</tbody>
</table>
</div>
<div class=3D"moz-cite-prefix">On 10/26/2016 05:10 PM, Rodrigo Pimenta Carv=
alho wrote:<br>
</div>
<blockquote type=3D"cite">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt; color:#000000; fo=
nt-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear OpenSIPS users,<br>
</p>
<p><br>
</p>
<p>In the OpenSIPS log I see:<br>
</p>
<p><br>
</p>
<div>Jan 01 19:30:38 colibri-imx6-jfl opensips[3444]: Jan&nbsp; 1 19:30:38 =
[3451] DBG:core:tcp_read_req: Using the global ( per process ) buff<br>
Jan 01 19:30:38 colibri-imx6-jfl opensips[3444]: Jan&nbsp; 1 19:30:38 [3451=
] DBG:core:tcp_handle_req: content-length=3D 0<br>
Jan 01 19:30:38 colibri-imx6-jfl opensips[3444]: Jan&nbsp; 1 19:30:38 [3451=
] DBG:core:async_tsend_stream: Async successful write from first try on 0x7=
4e13548<br>
Jan 01 19:30:38 colibri-imx6-jfl opensips[3444]: Jan&nbsp; 1 19:30:38 [3451=
] DBG:core:tcp_read_req: tcp_read_req end<br>
<br>
The frequency is 1 time at each 1,5 minute. There is only one client online=
. I suspect that OpenSIPS uses the socket
<span>0x74e13548</span> to send messages to such client. The client became =
online using TCP.<br>
<br>
Just to confirm, is this log a result of a TCP keep alive function enabled?=
<br>
<br>
Best regards.<br>
<br>
<br>
</div>
<p><br>
</p>
<p><br>
</p>
<div id=3D"Signature">
<div name=3D"divtagdefaultwrapper" style=3D"font-family:Calibri,Arial,Helve=
tica,sans-serif; font-size:; margin:0">
<div class=3D"BodyFragment"><font size=3D"2">
<div class=3D"PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: &#43;55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class=3D"mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________=0A=
Users mailing list=0A=
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users at lists.opensips.o=
rg">Users at lists.opensips.org</a>=0A=
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.opensips.org/cgi-bi=
n/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinf=
o/users</a>=0A=
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
<fieldset class=3D"mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________=0A=
Users mailing list=0A=
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users at lists.opensips.o=
rg">Users at lists.opensips.org</a>=0A=
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.opensips.org/cgi-bi=
n/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinf=
o/users</a>=0A=
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>

--_000_DM5PR02MB2732248ECE863373FEFB599BB5AA0DM5PR02MB2732namp_--



More information about the Users mailing list