|
@@ -157,7 +157,7 @@ $ kamcmd ps
|
|
|
Example 1.2. Set binrpc parameter
|
|
|
loadmodule "ctl"
|
|
|
# optional listen addresses, if no one is specified,
|
|
|
-# ctl will listen on unixs:/tmp/ser_ctl
|
|
|
+# ctl will listen on unixs:/tmp/kamailio_ctl
|
|
|
|
|
|
modparam("ctl", "binrpc", "unix:/run/kamailio/kamailio_ctl") # default
|
|
|
modparam("ctl", "binrpc", "udp:localhost:2046")
|
|
@@ -172,7 +172,8 @@ modparam("ctl", "binrpc", "udp:*:3012") # udp any , port 3012
|
|
|
|
|
|
3.2. binrpc_buffer_size (integer or string)
|
|
|
|
|
|
- the size of the internal buffer.
|
|
|
+ The size of the internal buffer used for printing elements of the RPC
|
|
|
+ response (e.g., internal RPC printf()). The value is given in bytes.
|
|
|
|
|
|
Default: 1024.
|
|
|
|
|
@@ -217,18 +218,19 @@ modparam("ctl", "group", 100)
|
|
|
fifo used for the obsolete fifo protocol. The fifo protocol can be run
|
|
|
over a real fifo, over UDP or over TCP. Format:
|
|
|
[protocol:]path|address. If no protocol is specified the default is
|
|
|
- "fifo". Examples: "fifo:/tmp/ser_fifo", "/tmp/ser_fifo2", "udp:*:2050",
|
|
|
- "tcp:localhost:2050". For more details on the UDP and TCP formats see
|
|
|
- binrpc. Multiple fifos or fifo transports can be used in the same time
|
|
|
- (just by setting the fifo parameter multiple times in the config).
|
|
|
+ "fifo". Examples: "fifo:/tmp/kamailio_fifo", "/tmp/kamailio_fifo2",
|
|
|
+ "udp:*:2050", "tcp:localhost:2050". For more details on the UDP and TCP
|
|
|
+ formats see binrpc. Multiple fifos or fifo transports can be used in
|
|
|
+ the same time (just by setting the fifo parameter multiple times in the
|
|
|
+ config).
|
|
|
|
|
|
Default: not set (no fifo will be used).
|
|
|
|
|
|
Example 1.7. Set fifo parameter
|
|
|
...
|
|
|
# old fifo support
|
|
|
-modparam("ctl", "fifo", "fifo:/tmp/ser_fifo") # classic fifo
|
|
|
-modparam("ctl", "fifo", "/tmp/ser_fifo2")
|
|
|
+modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo") # classic fifo
|
|
|
+modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
|
|
|
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
|
|
|
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
|
|
|
...
|