[Kamailio-Users] Auth problems with 1.5.1
Raúl Alexis Betancor Santana
rabs at dimension-virtual.com
Mon May 25 09:41:12 CEST 2009
Hi all, I'm getting a lot of problems to migrate to 1.5.1, the last one is
with auth.
I'm using postgresql as DB and auth_db with the next params:
[...]
loadmodule "auth.so"
modparam("auth", "nonce_expire", 300)
modparam("auth", "realm_prefix", "sip.")
modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")
modparam("auth", "rpid_avp", "$avp(s:rpid)")
loadmodule "auth_db.so"
modparam("auth_db", "db_url", "postgres://openser:XXXX@localhost:5435/voip3")
modparam("auth_db", "user_column", "username")
modparam("auth_db", "domain_column", "domain")
modparam("auth_db", "password_column", "password")
modparam("auth_db", "password_column_2", "ha1b")
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "use_domain", 1)
modparam("auth_db", "load_credentials", "$avp(s:caller_uuid)=uuid")
[...]
With openser 1.3.2 and this:
[...]
if(!www_authorize("", "subscriber"))
{
xlog("L_INFO", "Register authentication failed BI $T_branch_idx - M=$rm
RURI=$ru F=$fu T=$tu IP=$si I D=$ci\n");
www_challenge("", "0");
exit;
}
[...]
All is working ok .. but with kamailio 1.5.1 it doesn't run, It allway return
401 Authentication needed ...
I don't found anything in the docs about any change on auth modules ... what
could be happen ?
Best regards
--
Raúl Alexis Betancor Santana
Dimensión Virtual
More information about the Users
mailing list