浏览代码

usrloc: fixed xml tags and regenerated readme

Daniel-Constantin Mierla 12 年之前
父节点
当前提交
56d02f0262
共有 2 个文件被更改,包括 19 次插入2 次删除
  1. 16 0
      modules/usrloc/README
  2. 3 2
      modules/usrloc/doc/usrloc_admin.xml

+ 16 - 0
modules/usrloc/README

@@ -68,6 +68,7 @@ Bogdan-Andrei Iancu
               3.30. timer_procs (string)
               3.31. xavp_contact (string)
               3.32. db_ops_ruid (int)
+              3.33. handle_lost_tcp (int)
 
         4. Functions
         5. MI Commands
@@ -157,6 +158,7 @@ Bogdan-Andrei Iancu
    1.30. Set timer_procs parameter
    1.31. Set xavp_contact parameter
    1.32. Set db_ops_ruid parameter
+   1.33. Set handle_lost_tcp parameter
 
 Chapter 1. Admin Guide
 
@@ -205,6 +207,7 @@ Chapter 1. Admin Guide
         3.30. timer_procs (string)
         3.31. xavp_contact (string)
         3.32. db_ops_ruid (int)
+        3.33. handle_lost_tcp (int)
 
    4. Functions
    5. MI Commands
@@ -325,6 +328,7 @@ Chapter 1. Admin Guide
    3.30. timer_procs (string)
    3.31. xavp_contact (string)
    3.32. db_ops_ruid (int)
+   3.33. handle_lost_tcp (int)
 
 3.1. nat_bflag (integer)
 
@@ -764,6 +768,18 @@ modparam("usrloc", "xavp_contact", "ulattrs")
 modparam("usrloc", "db_ops_ruid", 1)
 ...
 
+3.33. handle_lost_tcp (int)
+
+   If set to 1, Kamailio will remove location records made via
+   TCP/TLS/WS/WSS transports when it looses corresponding tcp connections.
+
+   Default value is "0".
+
+   Example 1.33. Set handle_lost_tcp parameter
+...
+modparam("usrloc", "handle_lost_tcp", 1)
+...
+
 4. Functions
 
    There are no exported functions that could be used in scripts.

+ 3 - 2
modules/usrloc/doc/usrloc_admin.xml

@@ -885,13 +885,14 @@ modparam("usrloc", "db_ops_ruid", 1)
 		<emphasis>
 			Default value is <quote>0</quote>.
 		</emphasis>
+		</para>
 		<example>
 		<title>Set <varname>handle_lost_tcp</varname> parameter</title>
-		<programlist format="linespecific">
+		<programlisting format="linespecific">
 ...
 modparam("usrloc", "handle_lost_tcp", 1)
 ...
-<programlisting>
+</programlisting>
 		</example>
 	</section>