$var(x) = "abcd";

$(var(x){s.substr,1,0});

Hello all,

 

I took the example from the documentation, but Kamailio.cfg has errors with this example.

 

Errors=>

0(14444) CRITICAL: <core> [core/cfg.y:3489]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 827, column 1-23: pvar with transformations in assignment left side

0(14444) CRITICAL: <core> [core/cfg.y:3492]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 827, column 24: syntax error

0(14444) CRITICAL: <core> [core/cfg.y:3492]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 827, column 24: bad command

 

Thank you,