Unfortunalty param.count still can't accept comma (,) as separator.
Code block:

if ($(dlg_var(cgrSuppliers){param.count,,}) > 0)
{
}

Errors:

ERROR: pv [pv_trans.c:2854]: tr_parse_paramlist(): invalid separator in transformation: count,,}
ERROR: <core> [core/pvapi.c:1715]: tr_lookup(): error parsing [{param.count,,}]
ERROR: <core> [core/pvapi.c:1085]: pv_parse_spec2(): bad tr in pvar name "dlg_var"
ERROR: <core> [core/pvapi.c:1111]: pv_parse_spec2(): invalid parsing in [$(dlg_var(cgrSuppliers){param.count,,})] at (4)
CRITICAL: <core> [core/cfg.y:3508]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 950, column 8-46: Can't get from cache: $(dlg_var(cgrSuppliers){param.count,,})

kamailio -V

version: kamailio 5.2.0 (x86_64/linux) 535e13
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 535e13
compiled on 19:17:13 Dec  3 2018 with gcc 4.8.5

cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.