Parameter list transformation param.count produces parse error when
delimiter is comma (,) character.
From document:
{param.value,name[, delimiter]}
'delimiter' allows you to specify a single character to use as the
parameter delimiter. For example, when parsing HTTP URL query strings
use '&'.
When I have in config statement:
$var(count) = $(var(servers){param.count,,});
I get to syslog:
Jan 13 07:48:15 lohi sip-proxy[18000]: 0(18050) ERROR: pv [pv_trans.c:2645]:
tr_parse_paramlist(): invalid separator in transformation: count,,}
Jan 13 07:48:15 lohi sip-proxy[18000]: 0(18050) ERROR: <core> [core/pvapi.c:1629]:
tr_lookup(): error parsing [{param.count,,}]
Jan 13 07:48:15 lohi sip-proxy[18000]: 0(18050) ERROR: <core> [core/pvapi.c:1010]:
pv_parse_spec2(): bad tr in pvar name "var"
Jan 13 07:48:15 lohi sip-proxy[18000]: 0(18050) ERROR: <core> [core/pvapi.c:1036]:
pv_parse_spec2(): invalid parsing in [$(var(servers){param.count,,})] at (4)
Jan 13 07:48:15 lohi sip-proxy[18000]: 0(18050) : <core> [core/cfg.y:3407]:
yyerror_at(): parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 6426, column
19-48: Can't get from cache: $(var(servers){param.count,,})
Jan 13 07:48:15 lohi sip-proxy[18000]: ERROR: bad config file (1 errors)
-- Juha