Module: kamailio
Branch: master
Commit: 5437ad1a1dd691707e6ea1774e5c8ff6a72d30a7
URL:
https://github.com/kamailio/kamailio/commit/5437ad1a1dd691707e6ea1774e5c8ff…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-26T15:41:44+01:00
jsonrpcs: docs - example for jsonrpc_exec() with rpc params
---
Modified: src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/5437ad1a1dd691707e6ea1774e5c8ff…
Patch:
https://github.com/kamailio/kamailio/commit/5437ad1a1dd691707e6ea1774e5c8ff…
---
diff --git a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
index ab8aee4fcd0..f16cac7a7ee 100644
--- a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
+++ b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
@@ -495,6 +495,7 @@ event_route[xhttp:request] {
...
jsonrpc_exec('{"jsonrpc": "2.0", "method":
"dispatcher.reload", "id": 1}');
xlog("jsonrpc response code: $jsonrpl(code) - the body is: $jsonrpl(body)\n");
+jsonrpc_exec('{"jsonrpc": "2.0", "method":
"corex.debug", "params": [ 2 ], "id": 1}');
...
</programlisting>
</example>