Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-22 Thread Daniel Tryba
On Tue, Jan 22, 2019 at 12:08:34PM +0530, Prabhat Kumar wrote: > Is there any function for username authentication? as we have for password > i.e. pv_www_authenticate(realm, passwd, flags) I guess your only option for now is to use KEMI and your favorite scripting language available there. >

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread Prabhat Kumar
Is there any function for username authentication? as we have for password i.e. pv_www_authenticate(realm, passwd, flags) Also how can i modify username before authentication? Regards, Prabhat On Mon, Jan 21, 2019 at 8:11 PM Daniel Tryba wrote: > On Mon, Jan 21, 2019 at 06:55:32PM +0530,

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread Daniel Tryba
On Mon, Jan 21, 2019 at 06:55:32PM +0530, Prabhat Kumar wrote: > How can i modify username before consuming credentials set in *$au* > variable. I tried $au=$_s("xyz:"+$au); but it says "*read only pvar in > assignment left side*" > ERROR: bad config file (1 errors) $au is readonly. My workaround

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-21 Thread YASIN CANER
behalf of Prabhat Kumar Sent: Monday, January 21, 2019 1:49 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Additional Param Check in ConsumeCredential Auth I have used load_credentials for loading email, but not able to consume it. modparam("auth_db", "load_cred

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-20 Thread YASIN CANER
, 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

Re: [SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-20 Thread Mojtaba
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 wrote: > Hi, > > I want to check additional param

[SR-Users] Additional Param Check in ConsumeCredential Auth

2019-01-20 Thread Prabhat Kumar
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