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. 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. It is interesting that the errant packet, is received on a good address/port: recv 840 bytes from udp/[189.234.223.22]:10604 But the Contact header has an incorrect address/port/port Contact: <sip:1000@189.234.223.22:10604:10604 Perhaps someone who is more SIP savvy can clue us in on where that comes from. Is ALG turned off on the router at the client end? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Manish Khilwani Sent: Thursday, April 25, 2013 4:06 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] ERROR 404 BAD HEADER I think below is the issue. Contact: <sip:1000@189.234.223.22:10858:10858;transport=udp;rinstance=44ce69919a41a15 8> sip:1000@189.234.223.22:10858:10858 => 2 times 10858 port is coming with contact. Still I'm not sure. If you have any idea then please let me know. Thanks ===================== Manish Khilwani Skype: manish_khilwani Gmail: manish.khilwani@gmail.com MSN : manish.khilwani@hotmail.com Phone : 919099923079 On Fri, Apr 26, 2013 at 1:05 AM, Manish Khilwani <manish.khilwani@gmail.com> wrote: Hello Michale, Please below find the link of pastebin. http://pastebin.freeswitch.org/20834 Thanks ===================== Manish Khilwani Skype: manish_khilwani Gmail: manish.khilwani@gmail.com MSN : manish.khilwani@hotmail.com Phone : 919099923079 On Fri, Apr 26, 2013 at 12:43 AM, Michael Collins <msc@freeswitch.org> wrote: FYI, you've never supplied SIP traces of the traffic in question. Perhaps there are clues in there. Use pastebin.freeswitch.org and put the pastebin link in this thread. -MC On Thu, Apr 25, 2013 at 12:05 PM, Manish Khilwani <manish.khilwani@gmail.com> wrote: Hello Sean, I have tried "aggressive-nat-detection" to true as suggested but no luck. which other NDLB setting required to configure? Thanks ===================== Manish Khilwani Skype: manish_khilwani Gmail: manish.khilwani@gmail.com MSN : manish.khilwani@hotmail.com Phone : 919099923079 On Fri, Apr 26, 2013 at 12:29 AM, Sean Devoy <sdevoy@bizfocused.com> wrote: 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. Did you try the NDLB settings as others recommended? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of pratham2013 Sent: Thursday, April 25, 2013 2:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] ERROR 404 BAD HEADER Hello Sean, I'm still having this issue as I tried everything. When I try to register with voip.ms account then its working well. I'm not getting 400 bad header but in plae of voip.ms 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 _____ View this message in context: Re: ERROR 404 BAD HEADER <http://freeswitch-users.2379917.n2.nabble.com/ERROR-404-BAD-HEADER-tp759004 0p7590127.html> Sent from the freeswitch-users mailing list archive <http://freeswitch-users.2379917.n2.nabble.com/> at Nabble.com. _________________________________________________________________________ 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 -- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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