[Freeswitch-users] Bad request answer

Steven Ayre steveayre at gmail.com
Fri Oct 25 17:13:23 MSD 2013


Unsure. It's saying there's more data than there is so FS is expecting
more. It's an invalid packet. You just need to complain to the manufacturer
and hope they release a firmware upgrade.

Out of curiosity, what router and firmware is it? Might be worth
documenting it on http://wiki.freeswitch.org/wiki/ALG


On 25 October 2013 13:42, Juan Antonio Ibañez Santorum <
juanito1982 at gmail.com> wrote:

> You are the man Steven!
>
> How painful SIP ALG is...
>
> Do you know if possible to be more permissive with SIP ALG changes like
> that?
>
> Regards
>
>
> 2013/10/20 Steven Ayre <steveayre at gmail.com>
>
>> Looks like the old router changed the IP in the SDP without updating the
>> Content-Length*, so the SDP length was different from what the packet
>> claimed hence the error.
>>
>> *The public IP is 3 characters shorter than the internal one. The SDP is
>> otherwise identical but both have 258 as content-length. The router was
>> removing 6 bytes from the SDP so should have changed this to 252.
>>
>>
>> On 20 October 2013 16:30, Juan Antonio Ibañez Santorum <
>> juanito1982 at gmail.com> wrote:
>>
>>> New routers solved the problem. The old one seems to modify SDP. New
>>> INVITE requests seems as:
>>>
>>>  http://pastebin.com/hQFjDC2c
>>>
>>> We can see local IPv4 ips instead the public ones. Whan I don't know is
>>> why FS didn't like previous requests. Is there any way to know why?
>>>
>>> Regards
>>>
>>>
>>> 2013/10/18 Anthony Minessale <anthony.minessale at gmail.com>
>>>
>>>> Maybe try factory resetting the device?
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Oct 18, 2013 at 6:24 AM, Juan Antonio Ibañez Santorum <
>>>> juanito1982 at gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>>   I am getting "Bad request" answer from FS but I don't know why. I
>>>>> have phone as that (AT810) in other locations without problems. You can see
>>>>> one INVITE and answer here
>>>>>
>>>>> http://pastebin.com/Widd5j2i
>>>>>
>>>>> Do you know why FS doesn't like it?
>>>>> Regards
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Anthony Minessale II
>>>>
>>>> FreeSWITCH http://www.freeswitch.org/
>>>> ClueCon http://www.cluecon.com/
>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>
>>>> AIM: anthm
>>>> MSN:anthony_minessale at hotmail.com
>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>> IRC: irc.freenode.net #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:888 at conference.freeswitch.org
>>>> googletalk:conf+888 at conference.freeswitch.org
>>>> pstn:+19193869900
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>
>>
>
> _________________________________________________________________________
> 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/20131025/7ce26484/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list