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 d.tryba@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users