Hello,

Please have a look to the documentation, the issue is described there, and a 
workaround also suggested.

http://www.kamailio.org/wiki/cookbooks/devel/transformations#parameters_list_transformations

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <[email protected]> On Behalf Of ???
Sent: Wednesday, March 23, 2022 11:12 AM
To: sr-users <[email protected]>
Subject: [SR-Users] {param.in, name[, delimiter]} error when delimiter is comma

Hi, all

Kamailio5.5.4

$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?
Thanks!
________________________________
hanxiaofang

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to