sipcapture: removed mi command
[sip-router] / src / modules / sipcapture / doc / sipcapture_admin.xml
index b45c29e..8916317 100644 (file)
@@ -10,9 +10,9 @@
 <!-- Module User's Guide -->
 
 <chapter>
-       
+
        <title>&adminguide;</title>
-       
+
        <section>
        <title>Overview</title>
        <para>
@@ -33,7 +33,7 @@
                 </listitem>
                <listitem>
                <para>
-               Homer encapsulation protocol mode (HEP v1, v2, v3). 
+               Homer encapsulation protocol mode (HEP v1, v2, v3).
                </para>
                </listitem>
                </itemizedlist>
@@ -567,48 +567,10 @@ report_capture("report_data", "{\"MOS\":4.1,\"PACKET_LOST\":100"});
 </programlisting>
                </example>
        </section>
-       
-       </section>
 
+       </section>
 
     <section>
-       <title>MI Commands</title>
-       <section id="sipcapture.m.sip_capture">
-               <title>
-               <function moreinfo="none">sip_capture</function>
-               </title>
-               <para>
-
-               </para>
-               <para>
-               Name: <emphasis>sip_capture</emphasis>
-               </para>
-               <para>Parameters: </para>
-               <itemizedlist>
-                       <listitem><para>capture_mode : turns on/off SIP message capturing.
-                       Possible values are:</para>
-                       <itemizedlist>
-                               <listitem><para> on </para></listitem> 
-                               <listitem><para> off </para></listitem>
-                       </itemizedlist>
-                       <para>The parameter is optional - if missing, the command will
-                       return the status of the SIP message capturing (as string 
-                       <quote>on</quote> or <quote>off</quote> ) without changing
-                       anything.</para>
-                       </listitem>
-               </itemizedlist>
-
-               <para>
-               MI FIFO Command Format:
-               </para>
-               <programlisting  format="linespecific">
-               :sip_capture:_reply_fifo_file_
-               capture_mode
-               _empty_line_
-               </programlisting>
-       </section>
-       </section><!-- MI commands -->
-       <section>
        <title>RPC Commands</title>
        <section id="sipcapture.r.sipcapture.status">
                <title>
@@ -625,18 +587,28 @@ report_capture("report_data", "{\"MOS\":4.1,\"PACKET_LOST\":100"});
                        <listitem><para>on or off: turns on/off SIP message capturing.
                        Possible values are:</para>
                        <itemizedlist>
-                               <listitem><para>on</para></listitem> 
+                               <listitem><para>on</para></listitem>
                                <listitem><para>off</para></listitem>
                        </itemizedlist>
                        </listitem>
-                       <listitem><para><quote>check</quote> does not change 
+                       <listitem><para><quote>check</quote> does not change
                        sipcapture status, just reports the current status.</para>
                        </listitem>
                </itemizedlist>
+               <para>
+               RPC Command Format:
+               </para>
+               <programlisting  format="linespecific">
+...
+&kamcmd; sipcapture.status on
+&kamcmd; sipcapture.status off
+&kamcmd; sipcapture.status check
+...
+               </programlisting>
 
        </section>
        </section><!-- RPC commands -->
-       
+
        <section>
                <title>Database setup</title>
                <para>