Hello,
can you print the return code of the function and see what it is
in your case? Like:
Is this possible? I'm trying with:
if (auth_check("$fd", "subscriber", "1")==-2) {log something}
i'm trying to find out if the username actually exists in the db, but the password provided was wrong...
ᐧ
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com