[SR-Users] Additional Param Check in ConsumeCredential Auth

YASIN CANER caner_yaso at hotmail.com
Mon Jan 21 08:09:01 CET 2019


you can use load_credentials. After Auth is done , defined columns load to avp. and you can use it.



From: sr-users <sr-users-bounces at lists.kamailio.org> on behalf of Mojtaba <mespio at 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 at myoperator.co<mailto:prabhat.kumar at myoperator.co>> wrote:

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?


Prabhat Kumar

Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

--Mojtaba Esfandiari.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190121/654e3ae5/attachment.html>

More information about the sr-users mailing list