Module: kamailio
Branch: master
Commit: 3b8d7950539be080770e3665ced07b491b9065bb
URL:
https://github.com/kamailio/kamailio/commit/3b8d7950539be080770e3665ced07b4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-12-02T08:20:34+01:00
kamctl: added rpcfifo control engine
- interact with kamailio via a fifo file using jsonrpc-s module
- CTLENGINE has to be set to RPCFIFO
- RPCFIFOPATH has to be set to the fifo file created by jsonrpc-s module
- kamctl rpc command is available for sending raw jsonrpc commands
- it forwards number cli parameters as number type in jsonrpc commands
- the prefix s: or i: can be used to enforce type string or int for
parameters
kamctl rpc jsonrpc.eco abc 123
kamctl rpc jsonrpc.eco s:abc i:123
kamctl rpc jsonrpc.eco s:888 i:123
---
Added: utils/kamctl/kamctl.rpcfifo
Modified: utils/kamctl/kamctl
Modified: utils/kamctl/kamctlrc
---
Diff:
https://github.com/kamailio/kamailio/commit/3b8d7950539be080770e3665ced07b4…
Patch:
https://github.com/kamailio/kamailio/commit/3b8d7950539be080770e3665ced07b4…