[sr-dev] [kamailio/kamailio] tr_lookup(): error parsing [{param.count, , }] (#1041)

Sergey Lavrov notifications at github.com
Thu Mar 23 16:32:37 CET 2017


Kamailio can't parse construction like $(hdr(History-Info)[*]{param.count,,}) where delimiter is comma.
I tried to use delimiter as , / ',' / "," wuthout success.

ERROR: pv [pv_trans.c:2631]: tr_parse_paramlist(): invalid separator in transformation: count,,}
ERROR: <core> [pvapi.c:1629]: tr_lookup(): error parsing [{param.count,,}]
ERROR: <core> [pvapi.c:1010]: pv_parse_spec2(): bad tr in pvar name "hdr"
ERROR: <core> [pvapi.c:1036]: pv_parse_spec2(): invalid parsing in [$(hdr(History-Info)[*]{param.count,,})] at (4)

ERROR: pv [pv_trans.c:2639]: tr_parse_paramlist(): invalid name transformation: count,','}!
ERROR: <core> [pvapi.c:1629]: tr_lookup(): error parsing [{param.count,','}]
ERROR: <core> [pvapi.c:1010]: pv_parse_spec2(): bad tr in pvar name "hdr"
ERROR: <core> [pvapi.c:1036]: pv_parse_spec2(): invalid parsing in [$(hdr(History-Info)[*]{param.count,','})] at (4)

ERROR: bad config file (1 errors)
ERROR: pv [pv_trans.c:2639]: tr_parse_paramlist(): invalid name transformation: count,","}!
ERROR: <core> [pvapi.c:1629]: tr_lookup(): error parsing [{param.count,","}]
ERROR: <core> [pvapi.c:1010]: pv_parse_spec2(): bad tr in pvar name "hdr"
ERROR: <core> [pvapi.c:1036]: pv_parse_spec2(): invalid parsing in [$(hdr(History-Info)[*]{param.count,","})] at (4)


kamailio -v
version: kamailio 4.4.5 (x86_64/linux) f98162
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, 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_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: f98162 
compiled on 03:47:31 Feb 27 2017 with gcc 4.8.5


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1041
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170323/c1ce8cf9/attachment.html>


More information about the sr-dev mailing list