<div>Hello,</div>
<div> </div>
<div>I have a requirement where the TLS connection initiated by kamailio shall stay to reuse by the sip server. The sip server is expecting PING on the TLS connection as as per the RFC 5626.</div>
<div> </div>
<div>Is there any plan to implement ping &quot;CRLF CRLF&quot; send by kamailio as per the RFC 5626.</div>
<div> </div>
<div>Thanks</div>
<div>Jijo<br></div>
<div class="gmail_quote">On Mon, Feb 13, 2012 at 10:43 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hello,<br><br>tcp_keepalive is setting SO_KEEPALIVE which means sending keeplive by kamailio. You can watch network traffic with ngrep/tcpdump/wireshark...<br>
<br>The tcp parameters are documented on wiki:<br><br> <a href="http://www.kamailio.org/wiki/cookbooks/devel/core#tcp_keepalive" target="_blank">http://www.kamailio.org/wiki/<u></u>cookbooks/devel/core#tcp_<u></u>keepalive</a><br>
<br>Cheers,<br>Daniel 
<div class="HOEnZb">
<div class="h5"><br><br>On 2/3/12 11:33 AM, Yufei Tao wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi<br><br>I want to use TCP keepalive to detect dead connections between Kamailio<br>and my SIP clients. I&#39;ve got some questions about this:<br>
<br>1. If I enable it on Kamailio by setting for example:<br><br>tcp_crlf_ping = yes<br>tcp_keepalive = yes<br>tcp_keepidle = 60<br>tcp_keepintvl = 10<br>tcp_keepcnt = 3<br><br> From what I read by gooling, that means Kamailio only responds to the<br>
crlfcrlf sent by the client, but can&#39;t be configured to send the<br>crlfcrlf. Is this right?<br><br>2. On my client, if I use setsockopt to set the corresponding values:<br><br>  SO_KEEPALIVE<br>  TCP_KEEPCNT<br>  TCP_KEEPIDLE<br>
  TCP_KEEPINTVL<br><br>would it make the client send crlfcrlf?<br><br>The reason I&#39;m confused is, with these settings, if Kamailio can only<br>respond to crlfcrlf, but not send, then would the client only respond<br>too, as in 1. and 2., they seem to configure the same set of parameters?<br>
Please help me clarify this. Thanks very much!<br><br>Yufei<br><br>--<br>Yufei Tao<br>Red Embedded<br><br>This E-mail and any attachments hereto are strictly confidential and intended solely for the addressee. If you are not the intended addressee please notify the sender by return and delete the message.<br>
<br>You must not disclose, forward or copy this E-mail or attachments to any third party without the prior consent of the sender.<br><br>Red Embedded Design, Company Number 06688253 Registered in England: The Waterfront, Salts Mill Rd, Saltaire, BD17 7EZ<br>
<br>______________________________<u></u>_________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br></blockquote><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a><br><a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></font></span> 
<div class="HOEnZb">
<div class="h5"><br><br><br>______________________________<u></u>_________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br></div></div></blockquote></div><br>