[SR-Users] Additional Param Check in ConsumeCredential Auth
prabhat.kumar at myoperator.co
Tue Jan 22 07:38:34 CET 2019
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?
On Mon, Jan 21, 2019 at 8:11 PM Daniel Tryba <d.tryba at pocos.nl> wrote:
> 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 is to set $avp(au) and use that instead
> of $au
> > I have also tried "*rewriteuser("xyz:$au");*" but its not working.
> rewriteuser is the same a $rU
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users