[sr-dev] INFO: jsonrpcs used instead of mi_fifo in the default kamailio.cfg and kamctl

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 19 19:30:46 CET 2016


Hello,

with MI code planned to be removed, I updated the kamctl and default
kamailio.cfg to use jsonrpcs (jsonrpc server) module instead of mi_fifo
to interact with kamailio at runtime.

The default fifo file for rpc command is
/var/run/kamailio/kamailio_rpc.fifo and expects JSONRPC commands as
described at:

  - http://kamailio.org/docs/modules/devel/modules/jsonrpcs.html#idp31525708

Switching back to mi_fifo is still possible by loading the module and
editing kamctlrc, but the module might not make it to 5.0, so for new
installations and testing is better not to use it.

Few rpc commands are missing in carrierroute, otherwise the kamctl
commands should work just as before, but be aware that the output is now
in json format.

Testing of the master branch with the latest kamctl and providing
feedback will be really appreciated -- I could do tests only for the
modules I typically use.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-dev mailing list