Am 01.06.2010 19:02, schrieb IƱaki Baz Castillo:
2010/6/1 Klaus Darilionklaus.mailinglists@pernau.at:
Shouldn't it use strncmp()?
Probably it should.
regards Klaus
btw: how is "if ($au!=$tU)" compared?
The problem is that more SIP username related stuff is also case insensitive in Kamailio, i.e. the database columns. For example a user "TEST" with a location entry with username "test" woudl be retrieved because the location.username column is case insensitive.
IIRC that depends on the DB backend: MySQL is by default case insensitive, Postgresql is by default case sensitive.
regards Klaus