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

Reply via email to