The opensipsctl tool does not work anymore with the get_statistics command and will be dropped soon anyway. Please try the new opensips-cli tool.

Regards,

Vlad Patrascu
OpenSIPS Developer
http://www.opensips-solutions.com

On 04/11/2019 12:54 PM, Konrad Malewski wrote:
Hello,

I am using 3.0.0-dev version and I am having problem with opensipsctl command for statistics:

$opensipsctl fifo get_statistics load-all
{
   "jsonrpc": "2.0",
   "id": "a7cbfd4e",
   "error": {
      "message": "Invalid params",
      "code": -32602
   }
}

$opensipsctl fifo get_statistics load:
{
   "jsonrpc": "2.0",
   "id": "177e12c6",
   "error": {
      "message": "Invalid params",
      "code": -32602
   }
}

the log says: ERROR:core:get_mi_array_param: Parameter: statistics is not an array.

What is the new syntax ?

--
--
Konrad Malewski


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to