Several days ago, a new module named mi_rpc was added to the 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 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:
At the prompt: “mi ps”
See the readme of the module for more options:
You need to compile and load modules_s/ctl: