[SR-Users] {param.in, name[, delimiter]} error when delimiter is comma

韩小仿 13715209697 at 139.com
Wed Mar 23 11:11:35 CET 2022

Hi, all


$var(s) = "a=1;b=2;c=3";
$var(s1) = $(var(s){param.value,b}); // work well

$var(s) = "a=1|b=2|c=3";
$var(s1) = $(var(s){param.value,b,|}); // work well

// but
$var(s) = "a=1,b=2,c=3";
$var(s1) = $(var(s){param.value,b,,});
ERROR: <core> [core/pvapi.c:1131]: pv_parse_spec2(): invalid parsing in [$(var(s){param.value,b,,})] at (4)
CRITICAL: <core> [core/cfg.y:3683]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 366, column 13-38: Can't get from cache: $(var(s){param.value,b,,})

how to fix this?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220323/cbf26d7d/attachment.htm>

More information about the sr-users mailing list