Module: kamailio
Branch: master
Commit: ed383a384d0625c06959a289dc6a50b28869f68d
URL:
https://github.com/kamailio/kamailio/commit/ed383a384d0625c06959a289dc6a50b…
Author: Stefan Mititelu <stefan.mititelu92(a)gmail.com>
Committer: Stefan Mititelu <stefan.mititelu92(a)gmail.com>
Date: 2017-05-31T22:50:39+03:00
ctl: fix default path for doc examples
---
Modified: src/modules/ctl/doc/ctl_params.xml
Modified: src/modules/ctl/doc/ctl_rpc.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/ed383a384d0625c06959a289dc6a50b…
Patch:
https://github.com/kamailio/kamailio/commit/ed383a384d0625c06959a289dc6a50b…
---
diff --git a/src/modules/ctl/doc/ctl_params.xml b/src/modules/ctl/doc/ctl_params.xml
index 733636a286..526cd0f77b 100644
--- a/src/modules/ctl/doc/ctl_params.xml
+++ b/src/modules/ctl/doc/ctl_params.xml
@@ -75,7 +75,7 @@ loadmodule "ctl"
# optional listen addresses, if no one is specified,
# ctl will listen on unixs:/tmp/ser_ctl
-modparam("ctl", "binrpc", "unix:/tmp/&ctlsocket;") #
default
+modparam("ctl", "binrpc",
"unix:/var/run/&kamailiobinary;/&kamailiobinary;_ctl") # default
modparam("ctl", "binrpc", "udp:localhost:2046")
modparam("ctl", "binrpc", "tcp:localhost:2046")
modparam("ctl", "binrpc", "unixd:/tmp/unix_dgram") # unix
datagram
diff --git a/src/modules/ctl/doc/ctl_rpc.xml b/src/modules/ctl/doc/ctl_rpc.xml
index 5505c025d2..318f98e13e 100644
--- a/src/modules/ctl/doc/ctl_rpc.xml
+++ b/src/modules/ctl/doc/ctl_rpc.xml
@@ -23,7 +23,7 @@
<title><function>print</function> usage</title>
<programlisting>
$ &sercmd; -f"[%v] %v:%v %v\n" ctl.listen
-[binrpc] unix_stream:/tmp/&ctlsocket;
+[binrpc] unix_stream:/var/run/&kamailiobinary;/&kamailiobinary;_ctl
# note: the above command is equivalent with &sercmd; listen
</programlisting>
@@ -53,7 +53,7 @@
<title><function>ctl.who</function> usage</title>
<programlisting>
$ &sercmd; -f"[%v] %v: %v %v -> %v %v\n" ctl.who
-[binrpc] unix_stream: <anonymous unix socket> -> /tmp/&ctlsocket;
+[binrpc] unix_stream: <anonymous unix socket> ->
/var/run/&kamailiobinary;/&kamailiobinary;_ctl
# note the above command is equivalent to &sercmd; who
</programlisting>