forwarded to mailing-list ....
-------- Original Message --------
Subject: Re: [SR-Users] CRLF from Kamailio server
Date: Mon, 26 Nov 2012 16:34:26 +0100
From: Daniel-Constantin Mierla <mico...@gmail.com>
Reply-To: mico...@gmail.com
To: Klaus Darilion <klaus.mailingli...@pernau.at>
Hello,
I haven't checked actually the parts for tcp, but recently I added the
feature of removing the location records if there is no reply to OPTIONS
keepalives in nathelper, and it was only for UDP. Also, I think the nat
ping is 4 bytes (zeros) or so.
Might be another option from tcp, like:
http://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_keepalive
Cheers,
Daniel
On 11/26/12 3:54 PM, Klaus Darilion wrote:
IIRC tcp_crlf_ping is only about the Ping-Pong mechanism: client sends
PING=CRLF, server responds with PONG=CRLFCRLF.
Thus, server should only response on client CRLF. Further the PONG is
always double-CRLF.
So I suspected it is NAT keepalive - maybe someone added
NAT-keep-alive for TCP :-)
regards
Klaus
On 26.11.2012 11:05, Daniel-Constantin Mierla wrote:
Hello,
this might be actually related to tcp connection keepalive:
http://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_crlf_ping
IIRC, nathelper pings only udp contacts.
Cheers,
Daniel
On 11/26/12 10:54 AM, Klaus Darilion wrote:
On 26.11.2012 05:13, Dmytro Bogovych wrote:
Greetings.
May anyone give me advice?
I have working Kamailio with TLS.
It is used by iOS softphone - i developed own one based on
resiprocate.
All signalling is TLS.
Almost everything is fine.
But looks kamailio sends CRLF messages sometimes.
If it happens when softphone is in background mode - it is killed
by iOS
(as iOS prohibits too often awakes from background mode).
How I can disable these messages?
I see natping_interval = 30 and ping_nated_only=0
Should I set natping_interval to zero ?
Either set the interval to 0 or set ping_nated_only=1 and make sure to
not set the NAT flag for the iphone clients.
A problem may be firewalls/NAT between the iPhone and Kamailio, as
they may drop the TCP connection is there is no activity for too long
time.
regards
Klaus
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users