|
@@ -1,8 +1,8 @@
|
|
# ctl example configuration file
|
|
# ctl example configuration file
|
|
#
|
|
#
|
|
# to test use:
|
|
# to test use:
|
|
-# utils/sercmd/sercmd command
|
|
|
|
-# or utils/sercmd/sercmd and type help (interactive mode)
|
|
|
|
|
|
+# utils/kamcmd/kamcmd command
|
|
|
|
+# or utils/kamcmd/kamcmd and type help (interactive mode)
|
|
#
|
|
#
|
|
|
|
|
|
|
|
|
|
@@ -24,17 +24,15 @@ rev_dns=off # (cmd. line: -R)
|
|
#listen=192.168.57.33
|
|
#listen=192.168.57.33
|
|
#listen=192.168.57.72
|
|
#listen=192.168.57.72
|
|
#loop_checks=0
|
|
#loop_checks=0
|
|
-# for more info: sip_router -h
|
|
|
|
-alias=iptel.org
|
|
|
|
|
|
+alias=example.com
|
|
alias="foo.bar"
|
|
alias="foo.bar"
|
|
-#fifo="/tmp/ser_fifo"
|
|
|
|
|
|
|
|
#modules
|
|
#modules
|
|
|
|
|
|
loadmodule "modules/ctl/ctl.so"
|
|
loadmodule "modules/ctl/ctl.so"
|
|
# optional listen addresses, if no one is specified,
|
|
# optional listen addresses, if no one is specified,
|
|
-# ctl will listen on unixs:/tmp/ser_ctl
|
|
|
|
-modparam("ctl", "binrpc", "unix:/tmp/ser_ctl") # default
|
|
|
|
|
|
+# ctl will by default listen on unixs:/var/run/kamailio/kamailio_ctl.
|
|
|
|
+modparam("ctl", "binrpc", "unix:/tmp/kamailio_ctl") #
|
|
modparam("ctl", "binrpc", "udp:localhost:2046")
|
|
modparam("ctl", "binrpc", "udp:localhost:2046")
|
|
modparam("ctl", "binrpc", "tcp:localhost:2046")
|
|
modparam("ctl", "binrpc", "tcp:localhost:2046")
|
|
modparam("ctl", "binrpc", "unixd:/tmp/unix_dgram") # unix datagram
|
|
modparam("ctl", "binrpc", "unixd:/tmp/unix_dgram") # unix datagram
|