[SR-Users] Error: invalid json doc in command "kamctl ping" kamailio 5.4.3

Daniel-Constantin Mierla daniel at kamailio.org
Mon Jan 18 08:22:45 CET 2021


Hello,

Indeed, it seems broken, as the new lines at the end of headers break input in new parameters of a shell function inside the kamcli tool.

I will try to look into it.

Cheers,
Daniel

January 17, 2021 7:24 PM, "Julia Bo"  wrote:

Hello,
Kamailio 5.4.3 has been installed from source.
"kamctl ping sip:10.10.10.10:5060 (http://10.10.10.10:5060)" is sent from the command line.

Errors:
Jan 12 15:59:24 KAM-TEST /usr/local/kam/kamailio[66587]: ERROR: jsonrpcs [jsonrpcs_mod.c:1352]: jsonrpc_exec_ex(): invalid json doc [[{"jsonrpc": "2.0", "method": "tm.t_uac", "], "reply_name": "kamailio_receiver_85791", "id": 85791}]].", "From:sip:daemon at KAM-TEST
Jan 12 15:59:24 KAM-TEST /usr/local/kam/kamailio[66587]: ERROR: jsonrpcs [jsonrpcs_fifo.c:461]: jsonrpc_fifo_server(): failed to execute the json document from fifo stream

This command is working in 4.4.
Has anyone tried using kamctl ping in 5.4?
Is it a bug in 5.4.3 ?

Thank you,
Julia.

--
Daniel-Constantin Mierla
www.kamailio.org -- www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210118/70342afc/attachment.htm>


More information about the sr-users mailing list