Hello,
I sent files from the master branch.
After "kamctl ping sip:10.10.10.10:5060" i have received:

/usr/local/lib64/kamailio//kamctl/kamctl.rpcfifo: line 149: syntax error near unexpected token `}'
/usr/local/lib64/kamailio//kamctl/kamctl.rpcfifo: line 149: `}'
/usr/local/sbin/kamctl: line 261: =: command not found

Thank you,
Julia

On Mon, Jan 18, 2021 at 11:42 AM Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

can you try with the current master branch or with the patch from the next commit?

  * https://github.com/kamailio/kamailio/commit/1c66f6a1a5d04c33f1912609a36729b06b6eebd7

If it works fine, then I will backport.

Cheers,
Daniel

On Mon, Jan 18, 2021 at 8:23 AM Daniel-Constantin Mierla <daniel@kamailio.org> wrote:

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" <juliabo@gmail.com> wrote:

Hello,
Kamailio 5.4.3 has been installed from source.
"kamctl ping sip: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@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
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users