Hello there,
I'm trying to use the following command:
*kamctl rpc get_statistics usrloc::registered_users*
and i'm getting the following errors:
{ "jsonrpc": "2.0", "error": { "code": -32000, "message": "Execution Error" }, "id": 12006 }
ERROR: jsonrpcs [jsonrpcs_mod.c:1323]: jsonrpc_exec_ex(): method callback not found [get_statistics]
Question here is: This rpc raw command isn't available on new kamctl v5? or i have to call this in a different way?
Thank you Regards José Seabra
Hello Fred, Yes it was compiled and is loaded on my script.
Thank you Regards José Seabra
2017-05-29 12:58 GMT+01:00 Fred Posner fred@palner.com:
On 5/29/17 6:54 AM, José Seabra wrote:
ERROR: jsonrpcs [jsonrpcs_mod.c:1323]: jsonrpc_exec_ex(): method callback not found [get_statistics]
You've verified that you have the KEx module installed/loaded?
--fred
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
you try to execute what was previously an MI command. Usually the RPC commands have the format group.function, see the stats related ones at:
- https://www.kamailio.org/wiki/alphaindexes/5.0.x/rpccommands#s
Cheers, Daniel
On 29.05.17 14:41, José Seabra wrote:
Hello Fred, Yes it was compiled and is loaded on my script.
Thank you Regards José Seabra
2017-05-29 12:58 GMT+01:00 Fred Posner <fred@palner.com mailto:fred@palner.com>:
On 5/29/17 6:54 AM, José Seabra wrote: ERROR: jsonrpcs [jsonrpcs_mod.c:1323]: jsonrpc_exec_ex(): method callback not found [get_statistics] You've verified that you have the KEx module installed/loaded? --fred _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
-- Cumprimentos José Seabra
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
Thank you for the information.
Regards José Seabra
2017-05-30 9:44 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
you try to execute what was previously an MI command. Usually the RPC commands have the format group.function, see the stats related ones at:
Cheers, Daniel
On 29.05.17 14:41, José Seabra wrote:
Hello Fred, Yes it was compiled and is loaded on my script.
Thank you Regards José Seabra
2017-05-29 12:58 GMT+01:00 Fred Posner fred@palner.com:
On 5/29/17 6:54 AM, José Seabra wrote:
ERROR: jsonrpcs [jsonrpcs_mod.c:1323]: jsonrpc_exec_ex(): method callback not found [get_statistics]
You've verified that you have the KEx module installed/loaded?
--fred
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Cumprimentos José Seabra
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users