[Freeswitch-users] ERROR 404 BAD HEADER

Brian West brian at freeswitch.org
Wed Apr 24 15:57:55 MSD 2013


Doubt it, that's a message from Sofia before it gets to FreeSWITCH, chances
are your contact is actually invalid.

Sent from my iPhone

On Apr 24, 2013, at 12:59 AM, Steven Ayre <steveayre at gmail.com> wrote:

You could also collect a packet trace to see what exactly about the Contact
header is broken. Some NDLB settings might help, but it sounds like the
header could be so badly wrong the Sofia parser is failing to decode the
packet at all.

Sent from my iPad



On 24 Apr 2013, at 05:48, Manish Khilwani <manish.khilwani at gmail.com> wrote:

Hello Michael,

Thanks for your support I will try all the things which you and Sean has
suggested. Once again Thank you very much.

*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 10:03 AM, Michael Collins <msc at freeswitch.org>wrote:

> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at 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 at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130424/b1607474/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6287 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130424/b1607474/attachment-0001.bin 


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