<div dir="ltr">Turns out that AWS changed the MTU on the new instance types to 9000.  They are still investigating the various issues this is causing but I will just stay on the more stable instance types for now.  Otherwise, I was all ready to switch to TCP.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 6:38 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">If you are very close to the limit on fragments and just want to punt on the problem, you can use compressed headers to squeeze a bit more out, in the end, trying to fight udp fragmentation is a loosing battle at least on the internet, and switching to tcp is usually the best solution that I see always works.  You can also reduce the cdoecs passed along to help shrink packets a bit.<div>
<br></div><div>Mike</div><div><div class="h5"><div><br><div><div>On May 25, 2014, at 3:05 PM, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite">
<div dir="ltr">Thanks guys, I am feeling silly but hopefully this will help someone else who runs into this issue.  <div><br></div><div>After you confirmed that fragmentation happens in the OS, I realized/remembered that there is one more difference between the servers with the old and new FreeSWITCH.  They are both AWS instances and they are both CentOS 5.9 and based on the same image but <b>different instance types</b>.  So, it looks like the difference is that m3.xlarge instances work fine but a little cheaper c3.xlarge have this issue.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 25, 2014 at 3:37 AM, Dušan Dragić <span dir="ltr">&lt;<a href="mailto:dragic.dusan@gmail.com" target="_blank">dragic.dusan@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">As Peter said, look at the contents of your SIP messages, including<br>

SDP, find what changed. It&#39;s not freeswitch fragmenting the ip<br>
datagrams, it&#39;s the OS (and/or routers).<br>
As for thing to try, slim down SDP by removing some unneeded codecs ,<br>
enable compact headers in the profile etc.<br>
<br>
Search the mailing list... there have been a few fragmentation discussions.<br>
<div><div><br>
On 25 May 2014 08:41, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>&gt; wrote:<br>
&gt; More tests showed that what makes the difference is the size of the SIP<br>
&gt; message FreeSWITCH returns.  If the message is 1472 bytes or less, it works,<br>
&gt; more than that - it does not.  1472 + 20 (IPv4 header) + 8 (UDP header) -<br>
&gt; 1500 which is the standard MTU size on Ethernet.<br>
&gt;<br>
&gt; It seems that the new master is not properly fragmenting messages, so that<br>
&gt; everything after the first 1500 bytes is lost.  Again - the old FreeSWITCH<br>
&gt; did it just fine.<br>
&gt;<br>
&gt; Should I file a JIRA bug for this?  Or is this a known issue?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sat, May 24, 2014 at 11:50 AM, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Now I am thinking that the Fragmented IP may be a red herring since n the<br>
&gt;&gt; old version it&#39;s also happening but only once.  Then the softphone<br>
&gt;&gt; acknowledges it and that&#39;s the end of it.  Something in the OK message from<br>
&gt;&gt; the current master prevents the softphone from acknowledging the OK message.<br>
&gt;&gt; I could not find significant differences in the OK message with the old<br>
&gt;&gt; version that works.  The only difference seems to be Min-SE: 120 header in<br>
&gt;&gt; the old version which is missing from the new one.<br>
&gt;&gt;<br>
&gt;&gt; This is happening with at least two completely different softphone, so I<br>
&gt;&gt; can&#39;t blame the phones :-)  It&#39;s 100% reproducible.<br>
&gt;&gt;<br>
&gt;&gt; What else can I do to debug this?<br>
&gt;&gt;<br>
&gt;&gt; Any help would be greatly appreciated!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, May 23, 2014 at 10:10 PM, Oleg Stolyar &lt;<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi guys,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I upgraded to the master (and it&#39;s also happening in 1.4.4).  I have some<br>
&gt;&gt;&gt; very long SIP addresses in my messages.  It used to work fine on the master<br>
&gt;&gt;&gt; from August 2013.  However, now when FS sends back the OK message, to<br>
&gt;&gt;&gt; invites with very long destination numbers, the originator softphone cannot<br>
&gt;&gt;&gt; receive it.  This is only happening with UDP.  TCP works fine.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here is a snapshot of wireshark for the master<br>
&gt;&gt;&gt; <a href="https://www.dropbox.com/s/0y0m4f4t4cgnwu0/Current%20Master.PNG" target="_blank">https://www.dropbox.com/s/0y0m4f4t4cgnwu0/Current%20Master.PNG</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; And here is the snapshot of the same OK messages for the August 2013 FS<br>
&gt;&gt;&gt; that works<br>
&gt;&gt;&gt; <a href="https://www.dropbox.com/s/7wpsyw4r2skifpb/August%202013%20Version.PNG" target="_blank">https://www.dropbox.com/s/7wpsyw4r2skifpb/August%202013%20Version.PNG</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any ideas how to fix this?  Is this a known issue?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;</div></div></blockquote></div></div></blockquote></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>