浏览代码

README.md: section about kamailio.cfg

Daniel-Constantin Mierla 6 年之前
父节点
当前提交
a816ddb447
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      README.md

+ 15 - 0
README.md

@@ -228,6 +228,21 @@ kamcli -d --config=kamcli/kamcli.ini stats -s registered_users
 kamcli -d --config=kamcli/kamcli.ini stats usrloc:registered_users
 ```
 
+### Kamailio Configuration
+
+It requires to load the `jsnorpcs` module in `kamalilio.cfg` and enable the
+FIFO or UnixSocket transports (they should be enabled by default).
+
+```
+loadmodule "jsonrpcs.so"
+
+# ----- jsonrpcs params -----
+# - explicit enable of fifo and unixsocket transports
+modparam("jsonrpcs", "transport", 6)
+# - pretty format for output
+modparam("jsonrpcs", "pretty_format", 1)
+```
+
 ### License
 
 GPLv2