[Freeswitch-users] Case insensitive SIP URI

Lawrence Conroy lconroy at insensate.co.uk
Thu Sep 20 21:29:03 MSD 2012


Hi there,
 this goes deep into SIP's early history.
SIP inherited its userpart at domainpart syntax from email. Email userparts are case sensitive.
Also, HTTP had and has case sensitivity as well.
Remember, these rules were being set in the late '90s.
IIRC, the arguments at the time concerned having to deal with case insensitive comparisons,
and the royal pain that would be introduced if we ever wanted to deal with non-ASCII IDs.

Just to confuse the innocent, the domainpart (effectively) isn't case sensitive because
it's going to be passed to DNS, and DNS Fully Qualified Domain Names are case INsensitive.

[OK ...a hidden case aware form is used in DNS queries with recent software to help block
 certain kinds of DNS attacks -- but that's entirely transparent to DNS users]

There has been sooooooo much water passing under that particular bridge it is not going
to change any time soon.

all the best,
  Lawrence


On 20 Sep 2012, at 17:39, Serge S. Yuriev wrote:
> Hello,
>  
> 20.09.2012, 18:05, "Dmitry Lysenko" <dvl36.ripe.nick at gmail.com>:
>> Hello, Serge
>> 
>> 2012/9/20 Serge S. Yuriev <me at nevian.org>
>> I believe it's incorrect behavior to match case sensitive although it's "by design" (as per Jira).
>>  
>> According to rfc3261 username part of SIP URI must be case sensitive.
>> BTW this is common case in internet&unix world.
>  
>  
> Thank you for pointing out!
> But I'm a bit puzzled - what for this can be needed??
>  
> And once more - any suggestions on workaround?
> -- 
> wbr,
> Serge
> _________________________________________________________________________
> 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




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