[SR-Users] check auth_check return code

David Villasmil david.villasmil.work at gmail.com
Sat Jan 13 19:36:25 CET 2018


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 at gmail.com
phone: +34669448337
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180113/1d0c40ab/attachment.html>


More information about the sr-users mailing list