<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.nu0
        {mso-style-name:nu0;}
span.br0
        {mso-style-name:br0;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>I will see if I can contribute. First, if you have not yet, change the default passwords. I get port scans everytime I post addresses in pastebin.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>What Michael said is correct. You have a perfect registration sequence in your pastebin log, followed immediately by another attempt with the bad port specification you pointed out. So your communications problem is not really NAT, but rather something is retrying to register and sending invalid NAT data.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>It is interesting that the errant packet, is received on a good address/port:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN style='font-family:"Courier New"'>recv <span class=nu0>840</span> bytes from udp/<span class=br0>[</span><span class=nu0>189.234.223.22</span><span class=br0>]</span>:<span class=nu0>10604<o:p></o:p></span></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>But the Contact header has an incorrect address/port/<b>port</b><o:p></o:p></span></p><p class=MsoNormal><span lang=EN style='font-family:"Courier New"'>Contact: <sip:<span class=nu0>1000</span>@<span class=nu0>189.234.223.22</span>:<span class=nu0>10604</span><b>:<span class=nu0>10604</span></b></span><b><span style='font-family:"Verdana","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>Perhaps someone who is more SIP savvy can clue us in on where that comes from.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'>Is ALG turned off on the router at the client end?<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Manish Khilwani<br><b>Sent:</b> Thursday, April 25, 2013 4:06 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] ERROR 404 BAD HEADER<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>I think below is the issue.<br><br>Contact: <<a href="sip:1000@189.234.223.22:10858:10858;transport=udp;rinstance=44ce69919a41a158">sip:1000@189.234.223.22:10858:10858;transport=udp;rinstance=44ce69919a41a158</a>><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><a href="sip:1000@189.234.223.22:10858:10858">sip:1000@189.234.223.22:10858:10858</a> => 2 times 10858 port is coming with contact.<o:p></o:p></p></div><p class=MsoNormal>Still I'm not sure. If you have any idea then please let me know.<o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><b>Thanks<br>=====================<br>Manish Khilwani<br>Skype: manish_khilwani<br>Gmail: <a href="mailto:manish.khilwani@gmail.com" target="_blank">manish.khilwani@gmail.com</a><br>MSN : <a href="mailto:manish.khilwani@hotmail.com" target="_blank">manish.khilwani@hotmail.com</a><br>Phone : 919099923079</b><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Apr 26, 2013 at 1:05 AM, Manish Khilwani <<a href="mailto:manish.khilwani@gmail.com" target="_blank">manish.khilwani@gmail.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hello Michale,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Please below find the link of pastebin.<br><br><a href="http://pastebin.freeswitch.org/20834" target="_blank">http://pastebin.freeswitch.org/20834</a><o:p></o:p></p></div><div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><b>Thanks<br>=====================<br>Manish Khilwani<br>Skype: manish_khilwani<br>Gmail: <a href="mailto:manish.khilwani@gmail.com" target="_blank">manish.khilwani@gmail.com</a><br>MSN : <a href="mailto:manish.khilwani@hotmail.com" target="_blank">manish.khilwani@hotmail.com</a><br>Phone : 919099923079</b><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div><div><div><div><p class=MsoNormal>On Fri, Apr 26, 2013 at 12:43 AM, Michael Collins <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal>FYI, you've never supplied SIP traces of the traffic in question. Perhaps there are clues in there. Use <a href="http://pastebin.freeswitch.org" target="_blank">pastebin.freeswitch.org</a> and put the pastebin link in this thread.<o:p></o:p></p></div><p class=MsoNormal><span style='color:#888888'>-MC</span><o:p></o:p></p></div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Apr 25, 2013 at 12:05 PM, Manish Khilwani <<a href="mailto:manish.khilwani@gmail.com" target="_blank">manish.khilwani@gmail.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hello Sean,<o:p></o:p></p></div><p class=MsoNormal>I have tried "aggressive-nat-detection" to true as suggested but no luck. which other NDLB setting required to configure?<o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><b>Thanks<br>=====================<br>Manish Khilwani<br>Skype: manish_khilwani<br>Gmail: <a href="mailto:manish.khilwani@gmail.com" target="_blank">manish.khilwani@gmail.com</a><br>MSN : <a href="mailto:manish.khilwani@hotmail.com" target="_blank">manish.khilwani@hotmail.com</a><br>Phone : 919099923079</b><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><p class=MsoNormal>On Fri, Apr 26, 2013 at 12:29 AM, Sean Devoy <<a href="mailto:sdevoy@bizfocused.com" target="_blank">sdevoy@bizfocused.com</a>> wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana","sans-serif";color:#1F497D'>I don’t know what else to tell you, sorry. When I had this problem is was because the router at the other end was not sending the ETERNAL IP Address in the SIP headers. I turned off ALG for sip on that router and everything was fine.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana","sans-serif";color:#1F497D'>Did you try the NDLB settings as others recommended?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-family:"Verdana","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>pratham2013<br><b>Sent:</b> Thursday, April 25, 2013 2:38 PM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> Re: [Freeswitch-users] ERROR 404 BAD HEADER</span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello Sean, I'm still having this issue as I tried everything. When I try to register with <a href="http://voip.ms" target="_blank">voip.ms</a> account then its working well. I'm not getting 400 bad header but in plae of <a href="http://voip.ms" target="_blank">voip.ms</a> domain if I put my server ip then its giving 400 bad header. I can not debug this so please help me. Thanks Manish Khilwani <o:p></o:p></p><div><div class=MsoNormal><hr size=2 width=300 style='width:225.0pt' align=left></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/ERROR-404-BAD-HEADER-tp7590040p7590127.html" target="_blank">Re: ERROR 404 BAD HEADER</a><o:p></o:p></p><div><p class=MsoNormal><br>Sent from the <a href="http://freeswitch-users.2379917.n2.nabble.com/" target="_blank">freeswitch-users mailing list archive</a> at Nabble.com.<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br><a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>