[Freeswitch-users] Codec list truncation?

Lawrence Conroy lconroy at insensate.co.uk
Fri Mar 21 20:06:52 MSK 2014


Part two:
 as an entirely separate thing (must remember not to hit return too fast), RFC3261 says (in section 18.1.1) that one must switch to TCP if within 200 bytes of the discovered path MTU (or 1300 bytes if the path MTU is unknown).
That's SIP actively trying to avoid fragments. However, the logic there is fairly old -- it kinda assumes that responses will never be more than 200 bytes larger than the original message, which is not the case for some IMS style stuff.

SO .. . the problem is with SIP's choices on when to use UDP and when to use TCP, not with the underlying transport or network.

all the best,
  Lawrence

On 21 Mar 2014, at 16:33, Ken Rice <krice at freeswitch.org> wrote:
> UDP doesn't handle fragmentation... This is why sip is required to use both
> UDP and TCP (if you exceed MTU you Must use TCP per the RFC)
> 
> There are things like compressed headers to help with this but that only
> goes so far when you have 1500+ bytes in the SDP alone...
> 
> 
> On 3/21/14 8:41 AM, "Pete Ashdown" <pashdown at xmission.com> wrote:
> 
>> On 03/21/2014 03:32 AM, Keith Laaks wrote:
>>> Hi,
>>> 
>>> Are you perhaps hitting the MTU limit?
>>> 
>> 
>> Are SIP transmissions limited to a single packet confined by MTU?  Why
>> not just continue the list in the next packet?
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> -- 
> Ken
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> irc.freenode.net #freeswitch
> Twitter: @FreeSWITCH
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list