Do you have jsonrpcs module loaded? Are you running jsonrcp_exec() before trying to access $jsonrpl(key) ?
...This variable gives access to JSONRPC reply after executing jsonrpc_exec(…) in kamailio.cfg.... On Thu, Mar 29, 2018 at 3:56 AM, Dmitry <[email protected]> wrote: > Kamailio fails to start and I see the following errors: > > kamailio[2115]: ERROR: <core> [core/pvapi.c:1085]: pv_parse_spec2(): bad > tr in pvar name "jsonrpl" > kamailio[2115]: ERROR: <core> [core/pvapi.c:1111]: pv_parse_spec2(): > invalid parsing in [$(jsonrpl(body){kz.json, result.NRSETS})] at (4) > kamailio[2115]: CRITICAL: <core> [core/cfg.y:3447]: yyerror_at(): parse > error in config file /etc/kazoo/kamailio/dispatcher-role.cfg, line 243, > colu...ult.NRSETS}) > > I installed kamailio-json-modules, > > Kamailio v5.1.2 installed from DEB packets from deb.kamailio.org > > What is the cause of the error? > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
