2
0
Эх сурвалжийг харах

modules_k:siputils Improved documentation of ring_timeout parameter

Marius Zbihlei 15 жил өмнө
parent
commit
5783579581

+ 3 - 2
modules_k/siputils/README

@@ -187,9 +187,10 @@ Chapter 1. Admin Guide
 3.1. ring_timeout (int)
 3.1. ring_timeout (int)
 
 
    Timeout value in seconds, define how long the call-id is stored in the
    Timeout value in seconds, define how long the call-id is stored in the
-   internal list. A reasonable value is "30".
+   internal list kept for replacing 183 messages with 180. A reasonable
+   value is "30".
 
 
-   Default value is "0".
+   Default value is "0". This means functionality is disabled.
 
 
    Example 1.1. Set ring_timeout parameter
    Example 1.1. Set ring_timeout parameter
 ...
 ...

+ 2 - 2
modules_k/siputils/doc/siputils_admin.xml

@@ -75,12 +75,12 @@
 		<section>
 		<section>
 			<title><varname>ring_timeout</varname> (int)</title>
 			<title><varname>ring_timeout</varname> (int)</title>
 			<para>
 			<para>
-			Timeout value in seconds, define how long the call-id is stored in the internal list.
+			Timeout value in seconds, define how long the call-id is stored in the internal list kept for replacing 183 messages  with 180.
 			A reasonable value is <quote>30</quote>.
 			A reasonable value is <quote>30</quote>.
 			</para>
 			</para>
 			<para>
 			<para>
 			<emphasis>
 			<emphasis>
-				Default value is <quote>0</quote>.
+				Default value is <quote>0</quote>. This means functionality is disabled.
 			</emphasis>
 			</emphasis>
 			</para>
 			</para>
 			<example>
 			<example>

+ 1 - 1
modules_k/siputils/ring.c

@@ -237,7 +237,7 @@ static int contains(str callid)
 
 
 
 
 /*!
 /*!
- * \brief Convert a 180 to a 180 message.
+ * \brief Convert a 183  to a 180 message.
  * \param msg SIP message
  * \param msg SIP message
  */
  */
 static int conv183(struct sip_msg *msg)
 static int conv183(struct sip_msg *msg)

+ 1 - 1
modules_k/siputils/siputils.c

@@ -120,7 +120,7 @@ static param_export_t params[] = {
 	{"options_accept_encoding", STR_PARAM, &opt_accept_enc.s},
 	{"options_accept_encoding", STR_PARAM, &opt_accept_enc.s},
 	{"options_accept_language", STR_PARAM, &opt_accept_lang.s},
 	{"options_accept_language", STR_PARAM, &opt_accept_lang.s},
 	{"options_support",         STR_PARAM, &opt_supported.s},
 	{"options_support",         STR_PARAM, &opt_supported.s},
-	{"contact_flds_separator",  STR_PARAM,&contact_flds_separator},
+	{"contact_flds_separator",  STR_PARAM, &contact_flds_separator},
 	{0, 0, 0}
 	{0, 0, 0}
 };
 };