[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeswitch-dev
Subject:    [Freeswitch-dev] Keepalive Value for TCP/TLS sockets in Freeswitch
From:       Master Can <a.daydreamer82 () gmail ! com>
Date:       2013-08-20 14:11:30
Message-ID: CA+T6Pv-k4RWK=97aUdZxddwZf0oM3coqcDy10mO305hWQH9pxA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I noticed that when I do a "netstat --timers | grep sip-tls" I see:
keepalive (2,62/0/0)

The first value counts from 30 seconds downwards. So the freeswitch TCP
connection to my client seems to have a keepalive value of 30 secs.

I want to get rid of this since my clients send keepalive packets
themselves every x seconds (currently every 600 seconds).
How can I increase or disable the Freeswitch keepalive function?

I first thought that I'd need to set:
<param name="nat-options-ping" value="false"/>
<param name="all-reg-options-ping" value="false"/>

but that didn't help. (My client is behind a NAT, and I thought this 30
seconds thing might be due to OPTIONS packets being sent every 30
seconds...)

Are there any suggestions how to turn off the keepalive function?

br,
Can

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br><br></div>I noticed \
that when I do a &quot;netstat --timers | grep sip-tls&quot; I see:<br>keepalive \
(2,62/0/0)<br><br></div>The first value counts from 30 seconds downwards. So the \
freeswitch TCP connection to my client seems to have a keepalive value of 30 \
secs.<br> <br></div>I want to get rid of this since my clients send keepalive packets \
themselves every x seconds (currently every 600 seconds).<br></div>How can I increase \
or disable the Freeswitch keepalive function?<br><br></div> I first thought that \
I&#39;d need to set:<br>&lt;param name=&quot;nat-options-ping&quot; \
value=&quot;false&quot;/&gt;<br>&lt;param name=&quot;all-reg-options-ping&quot; \
value=&quot;false&quot;/&gt;<br><br></div>but that didn&#39;t help. (My client is \
behind a NAT, and I thought this 30 seconds thing might be due to OPTIONS packets \
being sent every 30 seconds...)<br> <br></div>Are there any suggestions how to turn \
off the keepalive function?<br><br></div>br,<br>Can<br></div>



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic