[Freeswitch-users] ERROR 404 BAD HEADER

Michael Collins msc at freeswitch.org
Wed Apr 24 08:33:30 MSD 2013


What he is saying is that the router at the customer's site is messing up
the SIP contact header, possibly by putting the wrong IP address in it. You
best bet is to have the customer log in to his router and disable any SIP
ALG. Alternatively you can try some of the NAT settings in the SIP profile.
For example you can set "aggressive-nat-detection" to true and see if that
helps, although you may need to test your other customers to make sure that
setting doesn't break their connections!

Don't you just love broken NAT devices? :)

-MC


On Tue, Apr 23, 2013 at 8:51 PM, Manish Khilwani
<manish.khilwani at gmail.com>wrote:

> Hello Sean,
>
> I'm using Amazon cloud server so I have to assign elastic ip in ext-rtp-ip
> and ext-sip-ip. and what excatly I need to to do with router?
>
>
>
> *Thanks
> =====================
> Manish Khilwani
> Skype: manish_khilwani
> Gmail: manish.khilwani at gmail.com
> MSN : manish.khilwani at hotmail.com
> Phone : 919099923079*
>
>
> On Wed, Apr 24, 2013 at 2:14 AM, Sean Devoy <sdevoy at bizfocused.com> wrote:
>
>> OK, here is what I use.****
>>
>> ** **
>>
>> In the sip interface profile of FS I have****
>>
>>       <param name="nat-options-ping" value="true"/>****
>>
>>       <param name="ext-sip-ip" value="auto-nat"/>****
>>
>>       <param name="ext-rtp-ip" value="auto-nat"/>****
>>
>> ** **
>>
>> I just downloaded xlite and used defaults plus account credentials fine.*
>> ***
>>
>> ** **
>>
>> Did you address the problem with their router?****
>>
>> ** **
>>
>> Sean****
>>
>> ** **
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Manish
>> Khilwani
>> *Sent:* Tuesday, April 23, 2013 3:24 PM
>> *To:* FreeSWITCH Users Help
>> *Subject:* Re: [Freeswitch-users] ERROR 404 BAD HEADER****
>>
>> ** **
>>
>> Hello Sean,****
>>
>> Thanks for replying.****
>>
>> My FS in installed on server and phone is trying to register from other
>> network. I'm using xlite softphone to register in FS.****
>>
>> What shoud I do now then?****
>>
>>
>> ****
>>
>> *Thanks
>> =====================
>> Manish Khilwani
>> Skype: manish_khilwani
>> Gmail: manish.khilwani at gmail.com
>> MSN : manish.khilwani at hotmail.com
>> Phone : 919099923079*****
>>
>> ** **
>>
>> On Wed, Apr 24, 2013 at 12:44 AM, Sean Devoy <sdevoy at bizfocused.com>
>> wrote:****
>>
>> I had this error last night!  The problem is with the router/nat at your
>> customers.  It is not including its IP/Domain in the header.  I had to set
>> my particular router's ALG to ignore/passthrough SIP ALG.  Many routers
>> only
>> allow ALG on or off.  You want off.
>>
>> But, you need to configure for NAT on your clients and FS.  If your FS
>> server is LOCAL to where you "setup extensions in FreeSwitch" there is a
>> lot
>> still to configure.  Let me know I will tell you what I know about that.
>> Also, what is the phone or ata brand being used?
>>
>> Sean
>>
>> -----Original Message-----
>> From: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
>> pratham2013
>> Sent: Tuesday, April 23, 2013 1:29 PM
>> To: freeswitch-users at lists.freeswitch.org
>> Subject: [Freeswitch-users] ERROR 404 BAD HEADER
>>
>> Hello, I'm facing very strange issue. I has setup extensions in FreeSwitch
>> and I can login and make calls but on of my customer can not register with
>> same extension and they are getting error 400 bad contact header so I
>> could
>> not understand how to solve this issue. Please anyone can help? Thanks
>> Manish Khilwani
>>
>>
>>
>> --
>> View this message in context:
>>
>> http://freeswitch-users.2379917.n2.nabble.com/ERROR-404-BAD-HEADER-tp7590040
>> .html<http://freeswitch-users.2379917.n2.nabble.com/ERROR-404-BAD-HEADER-tp7590040.html>
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>

-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130423/a939f498/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list