Tuesday, July 14, 2009

New module MI_RPC available

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:

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

No comments:

Post a Comment