2010/6/2 Iñaki Baz Castillo i...@aliax.net:
- check_from / check_to should b fixed to use case sensitive comparison.
A workaround for this would be using:
if ! avp_check($tU,eq/$au)
instead of:
if ! check_to()
--
Iñaki Baz Castillo
i...@aliax.net
On 6/3/10 12:52 PM, Iñaki Baz Castillo wrote:
2010/6/2 Iñaki Baz Castilloi...@aliax.net:
- check_from / check_to should b fixed to use case sensitive comparison.
A workaround for this would be using:
if ! avp_check($tU,eq/$au)
instead of:
if ! check_to()
note that
On Wednesday 02 June 2010, Iñaki Baz Castillo wrote:
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
2010/6/2 Henning Westerholt henning.westerh...@1und1.de:
Yes, this is correct. Then:
- check_from / check_to should b fixed to use case sensitive comparison.
Hi Iñaki,
this should be properly documented, as it has the potential of breaking some
configurations.
- MySQL database schema
Hi, when using check_from or check_to, is the username part of the uri
checked in mode case sensitive or insensitive?
It should be case sensitive as per SIP grammar. But in the code
(uri_db/checks.c) I see the opposite:
/* URI table not used, simply compare digest username and
2010/6/1 Iñaki Baz Castillo i...@aliax.net:
Hi, when using check_from or check_to, is the username part of the uri
checked in mode case sensitive or insensitive?
It should be case sensitive as per SIP grammar. But in the code
(uri_db/checks.c) I see the opposite:
/* URI table
2010/6/1 Iñaki Baz Castillo i...@aliax.net:
btw: how is if ($au!=$tU) compared?
All the comparisons in kamailio are case insensitive. The only way
would be using avopos to perform a case sensitive comparison.
--
Iñaki Baz Castillo
i...@aliax.net
Am 01.06.2010 19:02, schrieb Iñaki Baz Castillo:
2010/6/1 Klaus Darilionklaus.mailingli...@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