Jelajahi Sumber

mi_fifo: updated documentation for fifo_name parameter

Daniel-Constantin Mierla 10 tahun lalu
induk
melakukan
294427ca83
2 mengubah file dengan 17 tambahan dan 4 penghapusan
  1. 8 2
      modules/mi_fifo/README
  2. 9 2
      modules/mi_fifo/doc/mi_fifo_admin.xml

+ 8 - 2
modules/mi_fifo/README

@@ -111,9 +111,15 @@ Chapter 1. Admin Guide
 4.1. fifo_name (string)
 
    The name of the FIFO file to be created for listening and reading
-   external commands.
+   external commands. If the value is a file name or does not start with
+   '/', the FIFO file is created in the 'run_dir'. The 'run_dir' is a core
+   parameter that can specify where to create runtime files, its default
+   value is '/var/run/kamailio/'.
 
-   Default value is NONE.
+   Default value is 'Kamailio_fifo'.
+
+   The full path used by default for FIFO file is
+   '/var/run/kamailio/Kamailio_fifo'
 
    Example 1.1. Set fifo_name parameter
 ...

+ 9 - 2
modules/mi_fifo/doc/mi_fifo_admin.xml

@@ -86,13 +86,20 @@
 		<title><varname>fifo_name</varname> (string)</title>
 		<para>
 		The name of the FIFO file to be created for listening and 
-		reading external commands.
+		reading external commands. If the value is a file name or does
+		not start with '/', the FIFO file is created in the 'run_dir'. The
+		'run_dir' is a core parameter that can specify where to create
+		runtime files, its default value is '/var/run/kamailio/'.
 		</para>
 		<para>
 		<emphasis>
-			Default value is NONE.
+			Default value is '&kamailio;_fifo'.
 		</emphasis>
 		</para>
+		<para>
+			The full path used by default for FIFO file is
+			'/var/run/kamailio/&kamailio;_fifo'
+		</para>
 		<example>
 		<title>Set <varname>fifo_name</varname> parameter</title>
 		<programlisting format="linespecific">