Hello,
yes, using pv_auth_check() is the option for using passwords fetched
from your custom backend, like in-memory cache here.
Cheers,
Daniel
On 23.06.17 13:06, Grant Bagdasarian wrote:
Hello,
We’re currently using the auth_db module and calling the function
auth_check to check the Authorization header and authenticate the request.
We moved most of our code to in-memory lookups (using htable), since
we do not want our Kamailio servers to be DB dependent.
Just to be sure, if we move the authentication to in-memory lookups we
should use the auth module and call the pv_auth_check function instead
right?
The passwords in our users table are all stored in MD5, so we
basically just have to put this table in a htable, and call the
pv_auth_check and pass it the hashed password and the flag 1?
Regards,
Grant
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)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 -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com