On 27 Mar 2015, at 14:50, Alex Balashov <abalashov(a)evaristesys.com> wrote:
This command is not exposed within the route script.
This is a fairly common situation with modules; some "meta" functionality like
this that is available externally (via MI, RPC, etc.) is not available within the route
script.
http://kamailio.org/docs/modules/4.2.x/modules/jsonrpc-s.html#jsonrpc-s.f.j…
In 4.2 the jsonrpc-s module introduced a way to execute RPC commands from within the
routing script. Awsome!
Example 1.3. jsonrpc_exec usage
...
jsonrpc_exec({"jsonrpc": "2.0", "method":
"dispatcher.reload", "id": 1}');
...
/O