<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"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></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 <<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>> 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"><<a href="mailto:dragic.dusan@gmail.com" target="_blank">dragic.dusan@gmail.com</a>></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's not freeswitch fragmenting the ip<br>
datagrams, it'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 <<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>> wrote:<br>
> More tests showed that what makes the difference is the size of the SIP<br>
> message FreeSWITCH returns. If the message is 1472 bytes or less, it works,<br>
> more than that - it does not. 1472 + 20 (IPv4 header) + 8 (UDP header) -<br>
> 1500 which is the standard MTU size on Ethernet.<br>
><br>
> It seems that the new master is not properly fragmenting messages, so that<br>
> everything after the first 1500 bytes is lost. Again - the old FreeSWITCH<br>
> did it just fine.<br>
><br>
> Should I file a JIRA bug for this? Or is this a known issue?<br>
><br>
><br>
><br>
> On Sat, May 24, 2014 at 11:50 AM, Oleg Stolyar <<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Now I am thinking that the Fragmented IP may be a red herring since n the<br>
>> old version it's also happening but only once. Then the softphone<br>
>> acknowledges it and that's the end of it. Something in the OK message from<br>
>> the current master prevents the softphone from acknowledging the OK message.<br>
>> I could not find significant differences in the OK message with the old<br>
>> version that works. The only difference seems to be Min-SE: 120 header in<br>
>> the old version which is missing from the new one.<br>
>><br>
>> This is happening with at least two completely different softphone, so I<br>
>> can't blame the phones :-) It's 100% reproducible.<br>
>><br>
>> What else can I do to debug this?<br>
>><br>
>> Any help would be greatly appreciated!<br>
>><br>
>><br>
>> On Fri, May 23, 2014 at 10:10 PM, Oleg Stolyar <<a href="mailto:olegstolyar@gmail.com" target="_blank">olegstolyar@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi guys,<br>
>>><br>
>>> I upgraded to the master (and it's also happening in 1.4.4). I have some<br>
>>> very long SIP addresses in my messages. It used to work fine on the master<br>
>>> from August 2013. However, now when FS sends back the OK message, to<br>
>>> invites with very long destination numbers, the originator softphone cannot<br>
>>> receive it. This is only happening with UDP. TCP works fine.<br>
>>><br>
>>> Here is a snapshot of wireshark for the master<br>
>>> <a href="https://www.dropbox.com/s/0y0m4f4t4cgnwu0/Current%20Master.PNG" target="_blank">https://www.dropbox.com/s/0y0m4f4t4cgnwu0/Current%20Master.PNG</a><br>
>>><br>
>>> And here is the snapshot of the same OK messages for the August 2013 FS<br>
>>> that works<br>
>>> <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>
>>><br>
>>> Any ideas how to fix this? Is this a known issue?<br>
>><br>
>><br>
><br>
></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>