Thanks. I found the github repository. Are you planning to integrate this into package (I am using debian) ?
Currently opensips depends on python (which is 2.7) but opensips-cli requires python3 On Fri, Apr 12, 2019 at 10:42 AM Vlad Patrascu <vl...@opensips.org> wrote: > 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 Developerhttp://www.opensips-solutions.com > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opensips-2Dsolutions.com&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=368ZylOnjT2wshn1FXVCpUoc03KGvdRujH7v5TjlNwk&e=> > > 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 > listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e=> > > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwIGaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=e1cMNheMB6S0UOeY_WdEZXrfA9R8IF3RbLt4oSfkotM&s=9MMa6DU1B2Z7PGEmqGlSiVm_ujL4HqvpXby2HUyxfbg&e= > -- -- Konrad Malewski
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users