Case insensitive SIP URI
Hello, We have multiple registrations turned on on both profiles and few of our users registered at Internal, some on External. Via sofia_conntact we are able to reach them all BUT some registers for example as Support@domain.tld and others as support@domain.tld - and this is big problem for us :( I believe it's incorrect behavior to match case sensitive although it's "by design" (as per Jira). Anyone can propose workaround or patch for Sofia? Thanx in advance. -- wbr, Serge
Hello, Serge 2012/9/20 Serge S. Yuriev <me@nevian.org>
I believe it's incorrect behavior to match case sensitive although it's "by design" (as per Jira).
According to rfc3261 <http://www.rfc-editor.org/rfc/rfc3261.txt> username part of SIP URI must be case sensitive. BTW this is common case in internet&unix world. WBR, Dmitry.
Have the boxes register with the same case username. Or have everyone register to numerical extensions, those don't have cases... -Avi On Thu, Sep 20, 2012 at 7:39 PM, Serge S. Yuriev <me@nevian.org> wrote:
Hello,
20.09.2012, 18:05, "Dmitry Lysenko" <dvl36.ripe.nick@gmail.com>:
Hello, Serge
2012/9/20 Serge S. Yuriev <me@nevian.org>
I believe it's incorrect behavior to match case sensitive although it's "by design" (as per Jira).
According to rfc3261 <http://www.rfc-editor.org/rfc/rfc3261.txt> 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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi there, this goes deep into SIP's early history. SIP inherited its userpart@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@gmail.com>:
Hello, Serge
2012/9/20 Serge S. Yuriev <me@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello 2012/9/20 Serge S. Yuriev <me@nevian.org>
20.09.2012, 18:05, "Dmitry Lysenko" <dvl36.ripe.nick@gmail.com>:
According to rfc3261 <http://www.rfc-editor.org/rfc/rfc3261.txt> 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??
Main goal, IMO, is to simplify firmware of sip-phones, because case-insensitivity is hard to internationalize.
And once more - any suggestions on workaround?
Sofia sources hacking.
participants (4)
-
Avi Marcus
-
Dmitry Lysenko
-
Lawrence Conroy
-
Serge S. Yuriev