[SR-Users] shtinc throws readonly error

Sebastian Damm damm at sipgate.de
Fri Jul 8 12:20:55 CEST 2016


Hi,

I'm trying to use this line in one route:

        $shtinc(pushedUsers=>$avp(s:authuser));

However, when checking the syntax of this file, Kamailio says:

 0(609) : <core> [cfg.y:3365]: yyerror_at(): parse error in config
file /etc/kamailio/kamailio_sip_proxy.cfg, line 3304, column 2-39:
read only pvar in assignment left side

According to the pseudo vars documentation, I should be able to use it
like that.

Can someone tell me what I am missing?

Best Regards,
Sebastian



More information about the sr-users mailing list