Hello,
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
See the readme for more options. You need to compile and load modules_s/ctl: http://sip-router.org/docbook/sip-router/branch/master/modules_s/ctl/ctl.htm...
Back to mi_rpc, one issue that needs to be sorted out is the output format. Right now doing a pretty-format printing which is not suitable for xmlrpc.
Feedback is very much appreciated, thanks, Daniel