diff --git a/src/modules/call_control/README b/src/modules/call_control/README index 8ec69ecd345..1d3adcab1d8 100644 --- a/src/modules/call_control/README +++ b/src/modules/call_control/README @@ -197,11 +197,11 @@ modparam("call_control", "disable", 1) The path to the filesystem socket where the callcontrol application listens for commands from the module. - Default value is “/var/run/callcontrol/socket”. + Default value is “/run/callcontrol/socket”. Example 1.2. Setting the socket_name parameter ... -modparam("call_control", "socket_name", "/var/run/callcontrol/socket") +modparam("call_control", "socket_name", "/run/callcontrol/socket") ... 5.3. socket_timeout (int) diff --git a/src/modules/cfgt/README b/src/modules/cfgt/README index c237d1e9d1f..0003aa59694 100644 --- a/src/modules/cfgt/README +++ b/src/modules/cfgt/README @@ -97,7 +97,7 @@ Chapter 1. Admin Guide Example 1.1. Set cfgtrace parameter ... -modparam("cfgt", "basedir", "/var/run/kamailio/cfgtest") +modparam("cfgt", "basedir", "/run/kamailio/cfgtest") ... 3.2. mask (int) diff --git a/src/modules/ctl/README b/src/modules/ctl/README index 2eb67adbc33..efe67af5a6b 100644 --- a/src/modules/ctl/README +++ b/src/modules/ctl/README @@ -80,9 +80,8 @@ Chapter 1. Admin Guide protocol). By default (if no parameters are changed in the config file) it uses a - Unix stream socket under /var/run/kamailio: - /var/run/kamailio/kamailio_ctl. This socket is also the default for - kamcmd. + Unix stream socket under /run/kamailio: /run/kamailio/kamailio_ctl. + This socket is also the default for kamcmd. In general it's used in conjunction with kamcmd. kamcmd is a Unix tool for invoking Kamailio RPC functions. It can be used both in interactive @@ -151,8 +150,8 @@ $ kamcmd ps Multiple transports / listen addresses can be specified, just by setting the parameter multiple times. - Default: "unix:/var/run/kamailio/kamailio_ctl" (Unix stream socket). - The default value is used only if no binrpc parameter is found in the + Default: "unix:/run/kamailio/kamailio_ctl" (Unix stream socket). The + default value is used only if no binrpc parameter is found in the config file. Example 1.2. Set binrpc parameter @@ -160,7 +159,7 @@ loadmodule "ctl" # optional listen addresses, if no one is specified, # ctl will listen on unixs:/tmp/ser_ctl -modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl") # default +modparam("ctl", "binrpc", "unix:/run/kamailio/kamailio_ctl") # default modparam("ctl", "binrpc", "udp:localhost:2046") modparam("ctl", "binrpc", "tcp:localhost:2046") modparam("ctl", "binrpc", "unixd:/tmp/unix_dgram") # unix datagram @@ -289,7 +288,7 @@ modparam("ctl", "binrpc_struct_max_body_size", 4) Example 1.11. print usage $ kamcmd -f"[%v] %v:%v %v\n" ctl.listen -[binrpc] unix_stream:/var/run/kamailio/kamailio_ctl +[binrpc] unix_stream:/run/kamailio/kamailio_ctl # note: the above command is equivalent with kamcmd listen @@ -307,6 +306,6 @@ modparam("ctl", "binrpc_struct_max_body_size", 4) Example 1.13. ctl.who usage $ kamcmd -f"[%v] %v: %v %v -> %v %v\n" ctl.who -[binrpc] unix_stream: -> /var/run/kamailio/kamailio_ctl +[binrpc] unix_stream: -> /run/kamailio/kamailio_ctl # note the above command is equivalent to kamcmd who diff --git a/src/modules/db_mysql/README b/src/modules/db_mysql/README index e78a7d1c86c..69bd5e979df 100644 --- a/src/modules/db_mysql/README +++ b/src/modules/db_mysql/README @@ -229,7 +229,7 @@ default-character-set = utf8 Example 1.9. Using [client] and specific group ... [client] -socket = /var/run/mysql/mysqld.sock +socket = /run/mysql/mysqld.sock [kamailio] socket = /path/to/mysqld.sock diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README index 4f6f3c6b83c..1949131062d 100644 --- a/src/modules/dispatcher/README +++ b/src/modules/dispatcher/README @@ -364,7 +364,7 @@ Chapter 1. Admin Guide Example 1.1. Set the “list_file” parameter ... -modparam("dispatcher", "list_file", "/var/run/kamailio/dispatcher.list") +modparam("dispatcher", "list_file", "/run/kamailio/dispatcher.list") ... 3.2. db_url (string) diff --git a/src/modules/mediaproxy/README b/src/modules/mediaproxy/README index 26960179ecf..5e5aa0ae48c 100644 --- a/src/modules/mediaproxy/README +++ b/src/modules/mediaproxy/README @@ -190,12 +190,11 @@ modparam("mediaproxy", "disable", 1) It is the path to the filesystem socket where the mediaproxy dispatcher listens for commands from the module. - Default value is “/var/run/mediaproxy/dispatcher.sock”. + Default value is “/run/mediaproxy/dispatcher.sock”. Example 1.2. Setting the mediaproxy_socket parameter ... -modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock -") +modparam("mediaproxy", "mediaproxy_socket", "/run/mediaproxy/dispatcher.sock") ... 5.3. mediaproxy_timeout (int) diff --git a/src/modules/nat_traversal/README b/src/modules/nat_traversal/README index c134b9e14be..33be9a8a110 100644 --- a/src/modules/nat_traversal/README +++ b/src/modules/nat_traversal/README @@ -493,8 +493,8 @@ MyHeader: some_value\r\n") Example 1.5. Setting the keepalive_state_file parameter ... -modparam("nat_traversal", "keepalive_state_file", "/var/run/kamailio/keepalive_s -tate") +modparam("nat_traversal", "keepalive_state_file", "/run/kamailio/keepalive_state +") ... 5. Exported functions diff --git a/src/modules/sipdump/README b/src/modules/sipdump/README index f4e5a7d0ed0..a2b612077e7 100644 --- a/src/modules/sipdump/README +++ b/src/modules/sipdump/README @@ -161,7 +161,7 @@ modparam("sipdump", "rotate", 3600) Example 1.4. Set folder parameter ... -modparam("sipdump", "folder", "/var/run/kamailio") +modparam("sipdump", "folder", "/run/kamailio") ... 3.5. fprefix (str)