On 27 Mar 2015, at 14:50, Alex Balashov <abalas...@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.jsonrpc_exec 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 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users