[SR-Users] Kamailio fails to start because of jsonrpl
Joel Serrano
joel at gogii.net
Thu Mar 29 16:37:02 CEST 2018
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 <mbike2000ru at yahoo.com> 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
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180329/95f8bad1/attachment.html>
More information about the sr-users
mailing list