Hello
you can use load_credentials. After Auth is done , defined columns load to avp. and you
can use it.
http://kamailio.org/docs/modules/5.2.x/modules/auth_db.html#auth_db.p.load_…
Yasin CANER
________________________________
From: sr-users <sr-users-bounces(a)lists.kamailio.org> on behalf of Mojtaba
<mespio(a)gmail.com>
Sent: Monday, January 21, 2019 10:06 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Additional Param Check in ConsumeCredential Auth
Hello Prabhat,
Would you look at this function pv_www_authenticate in auth module? It seems it would be
useful for you
You could use the email as authentication parameter too,
With Regards.Mojtaba
On Mon, Jan 21, 2019 at 10:08 AM Prabhat Kumar
<prabhat.kumar@myoperator.co<mailto:prabhat.kumar@myoperator.co>> wrote:
Hi,
I want to check additional param in Auth module. For. ex., other than username and secret
, i want to validate user by its email address. How can i do that?
Regards,
Prabhat Kumar
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
--Mojtaba Esfandiari.S