Understood. My plan is to use UDP for all "trunking" type endpoints at TCP for desk phones as they will likely receive more NOTIFYs and in most cases being behind NAT where the longer connection timeout comes in handy. I also found a good paper on the subject:In regard to connection timeout how does Freeswitch handle this? I noticed the new Sofia parameters and I was curious if the connection lifetime was configurable as well.BR,SpencerHi Jeff,Thanks for the insight. Forgive my ignorance but if I have two IdenticalFreeswitch servers with SRV records and endpoints that properly supportSRVs, why do I loose the ability to failover if one host is not reachable?
TCP is a stateful protocol. On the other hand UDP isn't, it's stateless.
It's just easier to failover with UDP than with TCP if you understand the
difference between the two protocols. I'm not saying that it's not possible
to do so with TCP, but with the way how SIP works, you'd want to use UDP if
you want failover capabilities without the headache.
Also as many of these end points are Polycoms behind NAT, I can't see anyreason I'd still need NDLB-force-rport on the profile?
Unfortunately, I don't work with Polycom phones. Brian West over here can
comment on that issue.
Since these are application servers, handling conferences, presence, etc.,I'dimagine I would hit other bottlenecks before I hit the TCP connectionlimit.
Yes that's true, but if you had a FreeSWITCH box that purely handled SIP
messages and no media, you'd probably hit that TCP Open connection limit.
On May 8, 2013, at 9:51 AM, "Jeff Leung" <jleung@v10networks.ca> wrote:-----Original Message-----From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of
Vik KillaSent: Wednesday, May 8, 2013 9:18 AMTo: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] TCP vs UDP SIPThat I would agree with, but the thing is you lose the capability offailover in the unlikely event that a node in a FreeSWITCH cluster fail.
In my opinion, TCP seems better than UDP as you know all the SIPpackets are making to their destination.
On Wed, May 8, 2013 at 11:37 AM, Jeff Leung <jleung@v10networks.ca>
wrote:On a Linux system there is a limit of how many open TCPconnections you have.If I can remember correctly, I think Darren from 2600hz did discuss
about the limit of open TCP connections you can have on a Linuxsystem. Correct me if I'm wrong on this, but that seems to be thecase. And I have seen instances of that happening on a misconfigured
Squid ProxyI never heard this before...where and how it this limit defined?Unless you have a crazy amount of endpoints you have to serve, TCPprobably isn't really worth it in my opinion.Assuming it's one Open TCP connection per endpoint, you'd probablyneed more endpoints than the maximum amount of open TCP connections
tohit that problemHow many endpoints?Also did I also mention that TCP connections don't really fix NATissues?_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.org
http://www.freeswitchsolutions.comFreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.comOfficial FreeSWITCH Siteshttp://www.freeswitch.org
http://wiki.freeswitch.orghttp://www.cluecon.comFreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rshttp://www.freeswitch.org
__________________________________________________________
_______________Professional FreeSWITCH Consulting Services:consulting@freeswitch.org
http://www.freeswitchsolutions.comFreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.comOfficial FreeSWITCH Siteshttp://www.freeswitch.org
http://wiki.freeswitch.orghttp://www.cluecon.com
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
_________________________________________________________________________
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-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
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-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
