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...
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 ᐧ
Hello,
can you print the return code of the function and see what it is in your case? Like:
auth_check("$fd", "subscriber", "1"); $var(rc) = $rc; xlog("return code is: $rc\n");
Cheers, Daniel
On 13.01.18 19:36, David Villasmil wrote:
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...
Regards,
David Villasmil email: david.villasmil.work@gmail.com mailto:david.villasmil.work@gmail.com phone: +34669448337 ᐧ
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users