From: Victor Seva <linuxmaniac@torreviejawireless.org>
Date: Tue, 3 Dec 2019 13:40:14 +0100
Subject: [PATCH] cfgt: remove dbg from RPC commands

---
 src/modules/cfgt/cfgt_int.c         | 2 +-
 src/modules/cfgt/doc/cfgt_admin.xml | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/cfgt/cfgt_int.c b/src/modules/cfgt/cfgt_int.c
index 5d29fdb..4e92938 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 42e19c3..23ab092 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>
