Several days ago, a new module named mi_rpc was introduced to source tree. The goal is to be able to execute MI commands using RPC interface from sip router core.
One big advantage of this is the executing MI commands using the sercmd tool. sercmd is a command line interface, able to do auto completion for commands, used to change parameters, get insights of core and modules at runtime.
If you grabbed the source code (some guidelines at: http://sip-router.org/wiki/migration/kamailio-3.0-config), then:
cd utils/sercmd
make
./sercmd
At the prompt: “mi ps”
See the readme of the module for more options:
http://sip-router.org/docbook/sip-router/branch/master/modules/mi_rpc/mi_rpc.html
You need to compile and load modules_s/ctl:
http://sip-router.org/docbook/sip-router/branch/master/modules_s/ctl/ctl.html