[SR-Users] kamailio.cfg errors with this example from documentation

Wilkins, Steve swwilkins at mitre.org
Fri Sep 7 16:20:11 CEST 2018


$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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180907/354f19b3/attachment.html>


More information about the sr-users mailing list