[SR-Users] Additional Param Check in ConsumeCredential Auth

Daniel Tryba d.tryba at pocos.nl
Mon Jan 21 15:39:58 CET 2019

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

More information about the sr-users mailing list