[SR-Users] Case sensitivity in usrloc "location" table

Iñaki Baz Castillo ibc at aliax.net
Wed Dec 9 20:05:56 CET 2009


El Miércoles, 9 de Diciembre de 2009, Bruce McAlister escribió:
> Hi Klaus,
> 
> Klaus Darilion wrote:
> > Hi Bruce!
> >
> > What DB do you use? IIRC there were some issues as case sensitiveness
> > depends also on the DB - e.g. mysql is case insensitive but postgresl is
> > case sensitive.
> 
> We're using PostgreSQL v8.3.5. Can you remember if there was a way to
> work around the issue?

According to RFC 3261 BNF grammar, the username part of a SIP URI is case 
sensitive, this is:

  sip:alice at domain.org   !=   sip:Alice at domain.org

but domain part is case insensitive so:

  sip:alice at domain.org   ==   sip:alice at DOMain.ORG


The former case is a bug in usrloc module as it should respect the exact 
string for the username part. Please report it in the tracker.

Regards.


-- 
Iñaki Baz Castillo <ibc at aliax.net>




More information about the sr-users mailing list