[SR-Dev] git:master: lcr doc: added RPC commands section

Andrei Pelinescu-Onciul andrei at iptel.org
Wed May 13 19:23:39 CEST 2009


Module: sip-router
Branch: master
Commit: f7246ca139a6b3437b91ad5cf0eca8662a4888a2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f7246ca139a6b3437b91ad5cf0eca8662a4888a2

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed May 13 13:59:25 2009 +0200

lcr doc: added RPC commands section

---

 modules/lcr/doc/lcr_admin.xml |   50 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/modules/lcr/doc/lcr_admin.xml b/modules/lcr/doc/lcr_admin.xml
index 253bb26..5f75a38 100644
--- a/modules/lcr/doc/lcr_admin.xml
+++ b/modules/lcr/doc/lcr_admin.xml
@@ -910,6 +910,56 @@ if (to_gw("1")) {
 		</section>
 	</section>
 	<section>
+	<title>Exported RPC Commands</title>
+		<section>
+		<title><function>lcr.reload</function></title>
+		<para>
+			Causes lcr module to re-read the contents of gateway table
+			into memory.
+		</para>
+		<para>
+		Name: <emphasis>lcr.reload</emphasis>
+		</para>
+		<para>Parameters: <emphasis>none</emphasis></para>
+		<example>
+		<title><function>lcr.reload</function> RPC example</title>
+		<programlisting  format="linespecific">
+		$ sercmd lcr.reload
+		</programlisting>
+		</example>
+		</section>
+		
+		<section>
+		<title><function>lcr.dump_gws</function></title>
+		<para>
+			Causes lcr module to dump the contents of its
+			in-memory gw table.
+		</para>
+		<para>Parameters: <emphasis>none</emphasis></para>
+		<example>
+		<title><function>lcr.dump_gws</function> RPC example</title>
+		<programlisting  format="linespecific">
+		$ sercmd lcr.dump_gws
+		</programlisting>
+		</example>
+		</section>
+		
+		<section>
+		<title><function>lcr.dump_lcr</function></title>
+		<para>
+			Causes lcr module to dump the contents of its
+			in-memory lcr table.
+		</para>
+		<para>Parameters: <emphasis>none</emphasis></para>
+ 		<example>
+		<title><function>lcr.dump_lcr</function> RPC example</title>
+        <programlisting  format="linespecific">
+		$ sercmd lcr.dump_lcr
+		</programlisting>
+		</example>
+		</section>
+	</section>
+	<section>
 	<title>Known Limitations</title>
 	<para>
 		In-memory gateway and in-memory lcr table are switched




More information about the sr-dev mailing list