[SR-Users] TCP Path received quotes
Spencer Thomason
spencer at 5ninesolutions.com
Mon Jan 7 21:19:35 CET 2013
Hello Daniel and Andrew,
Sorry to dig up an old thread, but I'm just now getting around to a more permanent fix for this. Is there a way to urlencode the received parameter?
See:
http://jira.freeswitch.org/browse/FS-4989
Thanks in advance,
Spencer
On Sep 25, 2012, at 1:23 PM, Daniel-Constantin Mierla wrote:
> Hello,
>
> I cherry-picked the commit to 3.2 branch. Pull the last version and see if all is ok.
>
> Cheers,
> Daniel
>
> On 9/24/12 4:42 PM, Spencer Thomason wrote:
>> Hello,
>> Any chance of getting this fix back ported to 3.2 branch?
>>
>> Thanks,
>> Spencer
>>
>> On Sep 16, 2012, at 2:58 AM, Spencer Thomason wrote:
>>
>>> Hi Andrew,
>>>
>>> Thanks for the info. Yes that seems to fix the problem.
>>>
>>> Best regards,
>>>
>>> Spencer
>>>
>>>
>>>
>>> On 15.09.2012 14:42, Andrew Pogrebennyk wrote:
>>>
>>>> Hello Spencer,
>>>>
>>>> actually double quotes are not allowed in URI parameter. In the BNF
>>>> grammar the allowed chars in the "unreserved" definition are "alphanum"
>>>> and "mark", where "mark" is only "-" / "_" / "." / "!" / "~"
>>>> / "*" / "'" / "(" / ")" ).
>>>>
>>>> This is already fixed in 3.3.0 if I am not mistaken, please check
>>>> http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a5b181bca6bf37b4a18ef502717b50d06e53d5e4- maybe that helps you with your FreeSwitch.
>>>>
>>>> On 09/15/2012 10:51 AM, Spencer Thomason wrote:
>>>>> I see. FS complains about no transport protocol and gives a 503 with a header like that. Shouldn't they default to UDP in the absence of a transport parameter? It seems they are not honoring the quotes. In this setup Kamailio handles NAT traversal and forwards the registers to Freeswitch. This works: Path:This does not: Path:Spencer
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
> Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130107/8eb6c608/attachment.htm>
More information about the sr-users
mailing list