Send sr-users mailing list submissions to
sr-users(a)lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
sr-users-request(a)lists.sip-router.org
You can reach the person managing the list at
sr-users-owner(a)lists.sip-router.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-users digest..."
Today's Topics:
1. TCP keepalive on server and client (Yufei Tao)
----------------------------------------------------------------------
Message: 1
Date: Fri, 3 Feb 2012 10:33:11 +0000
From: Yufei Tao<yufei.tao(a)redembedded.com>
Subject: [SR-Users] TCP keepalive on server and client
To:<sr-users@lists.sip-router.org>
Message-ID:<4F2BB7E7.2090601@redembedded.com>
Content-Type: text/plain; charset="ISO-8859-1"
Hi
I want to use TCP keepalive to detect dead connections between Kamailio
and my SIP clients. I've got some questions about this:
1. If I enable it on Kamailio by setting for example:
tcp_crlf_ping = yes
tcp_keepalive = yes
tcp_keepidle = 60
tcp_keepintvl = 10
tcp_keepcnt = 3
From what I read by gooling, that means Kamailio
only responds to the
crlfcrlf sent by the client, but can't be configured to
send the
crlfcrlf. Is this right?
2. On my client, if I use setsockopt to set the corresponding values:
SO_KEEPALIVE
TCP_KEEPCNT
TCP_KEEPIDLE
TCP_KEEPINTVL
would it make the client send crlfcrlf?
The reason I'm confused is, with these settings, if Kamailio can only
respond to crlfcrlf, but not send, then would the client only respond
too, as in 1. and 2., they seem to configure the same set of parameters?
Please help me clarify this. Thanks very much!
Yufei
--
Yufei Tao
Red Embedded
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.
You must not disclose, forward or copy this E-mail or attachments to any third party
without the prior consent of the sender.
Red Embedded Design, Company Number 06688253 Registered in England: The Waterfront, Salts
Mill Rd, Saltaire, BD17 7EZ
------------------------------
_______________________________________________
sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
End of sr-users Digest, Vol 81, Issue 7
***************************************
--
Yufei Tao
Red Embedded
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.
You must not disclose, forward or copy this E-mail or attachments to any third party
without the prior consent of the sender.
Red Embedded Design, Company Number 06688253 Registered in England: The Waterfront, Salts
Mill Rd, Saltaire, BD17 7EZ
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org