[SR-Users] shtinc throws readonly error

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 8 12:56:19 CEST 2016


Hello,

you ave to use it in right side of an assignment, like:

$var(x) = ...

Cheers,
Daniel


On 08/07/16 12:20, Sebastian Damm wrote:
> 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
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list