[sr-dev] git:master:93030e5c: cfgt: remove dbg from RPC commands

Victor Seva linuxmaniac at torreviejawireless.org
Tue Dec 3 13:41:30 CET 2019


Module: kamailio
Branch: master
Commit: 93030e5ce1bf7d64f2cacd1a1ca1d3c20e901f44
URL: https://github.com/kamailio/kamailio/commit/93030e5ce1bf7d64f2cacd1a1ca1d3c20e901f44

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2019-12-03T13:40:14+01:00

cfgt: remove dbg from RPC commands

---

Modified: src/modules/cfgt/cfgt_int.c
Modified: src/modules/cfgt/doc/cfgt_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/93030e5ce1bf7d64f2cacd1a1ca1d3c20e901f44.diff
Patch: https://github.com/kamailio/kamailio/commit/93030e5ce1bf7d64f2cacd1a1ca1d3c20e901f44.patch

---

diff --git a/src/modules/cfgt/cfgt_int.c b/src/modules/cfgt/cfgt_int.c
index 5d29fdb870..4e92938ae3 100644
--- a/src/modules/cfgt/cfgt_int.c
+++ b/src/modules/cfgt/cfgt_int.c
@@ -727,7 +727,7 @@ static void cfgt_rpc_mask(rpc_t *rpc, void *ctx)
 
 /* clang-format off */
 rpc_export_t cfgt_rpc[] = {
-		{"dbg.cfgt.mask", cfgt_rpc_mask, cfgt_rpc_mask_doc, 0},
+		{"cfgt.mask", cfgt_rpc_mask, cfgt_rpc_mask_doc, 0},
 		{0, 0, 0, 0}
 };
 /* clang-format on */
diff --git a/src/modules/cfgt/doc/cfgt_admin.xml b/src/modules/cfgt/doc/cfgt_admin.xml
index 13c878c54a..d96515d3d2 100644
--- a/src/modules/cfgt/doc/cfgt_admin.xml
+++ b/src/modules/cfgt/doc/cfgt_admin.xml
@@ -152,13 +152,13 @@ modparam("cfgt", "callid_prefix", "TEST-ID%")
 	<title>RPC Commands</title>
 	<section id="cfgt.r.mask">
 		<title>
-		<function moreinfo="none">dbg.cfgt.mask</function>
+		<function moreinfo="none">cfgt.mask</function>
 		</title>
 		<para>
 		Sets <link linked="cfgt.p.mask">mask</link> module parameter.
 		</para>
 		<para>
-		Name: <emphasis>dbg.cfgt.mask</emphasis>
+		Name: <emphasis>cfgt.mask</emphasis>
 		</para>
 		<para>Parameters:</para>
 		<itemizedlist>
@@ -170,7 +170,7 @@ modparam("cfgt", "callid_prefix", "TEST-ID%")
 		</para>
 <programlisting  format="linespecific">
 ...
-&sercmd; dbg.cfgt.mask 32
+&sercmd; cfgt.mask 32
 ...
 </programlisting>
     </section>




More information about the sr-dev mailing list