Browse code

usrloc: coherence for int type of parameters

- it was combination of int and integer, now all int
- fix examples for int params, related to GH #1999

Daniel-Constantin Mierla authored on 06/07/2019 07:00:06
Showing 1 changed files
... ...
@@ -20,7 +20,7 @@
20 20
 		provides access to the table for  other modules. The module exports no
21 21
 		functions that can  be used directly from routing scripts.
22 22
 	</para>
23
-		<section id="contact-matching-algs">
23
+		<section id="usrloc.o.contact-matching-algs">
24 24
 		<title>Contact matching</title>
25 25
 		<para>
26 26
 		How the contacts are matched (for the same AOR - Address of Record) is an
... ...
@@ -112,7 +112,7 @@
112 112
 	<section>
113 113
 	<title>Parameters</title>
114 114
 	<section id="usrloc.p.nat_bflag">
115
-		<title><varname>nat_bflag</varname> (integer)</title>
115
+		<title><varname>nat_bflag</varname> (int)</title>
116 116
 		<para>
117 117
 		The index of the branch flag to be used as NAT marker (if the contact
118 118
 		is or not natted). This is a branch flag and it will be imported and
... ...
@@ -537,7 +537,7 @@ modparam("usrloc", "partition_column", "part")
537 537
 	</section>
538 538
 
539 539
 	<section id="usrloc.p.use_domain">
540
-		<title><varname>use_domain</varname> (integer)</title>
540
+		<title><varname>use_domain</varname> (int)</title>
541 541
 		<para>
542 542
 		If the domain part of the user should be also saved and used for
543 543
 		identifying the user (along with the username part). Useful in
... ...
@@ -559,7 +559,7 @@ modparam("usrloc", "use_domain", 1)
559 559
 	</section>
560 560
 
561 561
 	<section id="usrloc.p.desc_time_order">
562
-		<title><varname>desc_time_order</varname> (integer)</title>
562
+		<title><varname>desc_time_order</varname> (int)</title>
563 563
 		<para>
564 564
 		If the user's contacts should be kept timestamp ordered; otherwise the
565 565
 		contact will be ordered based on q value.
... ...
@@ -581,7 +581,7 @@ modparam("usrloc", "desc_time_order", 1)
581 581
 	</section>
582 582
 
583 583
 	<section id="usrloc.p.timer_interval">
584
-		<title><varname>timer_interval</varname> (integer)</title>
584
+		<title><varname>timer_interval</varname> (int)</title>
585 585
 		<para>
586 586
 		Number of seconds between two timer runs. The module uses a timer to
587 587
 		delete expired contacts, synchronize with database and other tasks,
... ...
@@ -623,7 +623,7 @@ modparam("usrloc", "db_url", "&exampledb;")
623 623
 	</section>
624 624
 
625 625
 	<section id="usrloc.p.db_mode">
626
-		<title><varname>db_mode</varname> (integer)</title>
626
+		<title><varname>db_mode</varname> (int)</title>
627 627
 		<para>
628 628
 		The usrloc module can utilize a database for persistent contact storage.
629 629
 		If a database is used, the location database (contacts)  will survive
... ...
@@ -708,7 +708,7 @@ modparam("usrloc", "db_mode", 2)
708 708
 	</section>
709 709
 
710 710
 	<section id="usrloc.p.db_load">
711
-		<title><varname>db_load</varname> (integer)</title>
711
+		<title><varname>db_load</varname> (int)</title>
712 712
 		<para>
713 713
 		Determine if the usrloc module should load contacts from the database storage during module initialization
714 714
 		A value of 0 disable the loading from the database, this parameter is ignored if db_mode 4 is set
... ...
@@ -722,14 +722,14 @@ modparam("usrloc", "db_mode", 2)
722 722
 		<title>Set <varname>db_load</varname> parameter</title>
723 723
 		<programlisting format="linespecific">
724 724
 ...
725
-modparam("usrloc", "db_load", "0")
725
+modparam("usrloc", "db_load", 0)
726 726
 ...
727 727
 		</programlisting>
728 728
 		</example>
729 729
 	</section>
730 730
 
731 731
 	<section id="usrloc.p.db_insert_update">
732
-		<title><varname>db_insert_update</varname> (integer)</title>
732
+		<title><varname>db_insert_update</varname> (int)</title>
733 733
 		<para>
734 734
 		Determine if the usrloc module should do an update when a duplicate key is found while inserting
735 735
 		A value of 1 will activate update on duplicate key
... ...
@@ -743,14 +743,14 @@ modparam("usrloc", "db_load", "0")
743 743
 		<title>Set <varname>db_insert_update</varname> parameter</title>
744 744
 		<programlisting format="linespecific">
745 745
 ...
746
-modparam("usrloc", "db_insert_update", "1")
746
+modparam("usrloc", "db_insert_update", 1)
747 747
 ...
748 748
 		</programlisting>
749 749
 		</example>
750 750
 	</section>
751 751
 
752 752
 	<section id="usrloc.p.matching_mode">
753
-		<title><varname>matching_mode</varname> (integer)</title>
753
+		<title><varname>matching_mode</varname> (int)</title>
754 754
 		<para>
755 755
 		What contact matching algorithm to be used. Refer to section
756 756
 		<xref linkend="contact-matching-algs"/> for the description of the
... ...
@@ -800,7 +800,7 @@ modparam("usrloc", "matching_mode", 1)
800 800
 	</section>
801 801
 
802 802
 	<section id="usrloc.p.cseq_delay">
803
-		<title><varname>cseq_delay</varname> (integer)</title>
803
+		<title><varname>cseq_delay</varname> (int)</title>
804 804
 		<para>
805 805
 		Delay (in seconds) for accepting as retransmissions register requests
806 806
 		with same Call-ID and Cseq. The delay is calculated starting from the
... ...
@@ -830,7 +830,7 @@ modparam("usrloc", "cseq_delay", 5)
830 830
 	</section>
831 831
 
832 832
 	<section id="usrloc.p.fetch_rows">
833
-		<title><varname>fetch_rows</varname> (integer)</title>
833
+		<title><varname>fetch_rows</varname> (int)</title>
834 834
 		<para>
835 835
 		The number of the rows to be fetched at once from database
836 836
 		when loading the location records. This value can be used
... ...
@@ -854,7 +854,7 @@ modparam("usrloc", "fetch_rows", 3000)
854 854
 	</section>
855 855
 
856 856
 	<section id="usrloc.p.hash_size">
857
-		<title><varname>hash_size</varname> (integer)</title>
857
+		<title><varname>hash_size</varname> (int)</title>
858 858
 		<para>
859 859
 		The number of entries of the hash table used by usrloc to store the
860 860
 		location records is 2^hash_size. For hash_size=4, the number of slots
... ...
@@ -1221,7 +1221,7 @@ modparam("usrloc", "server_id_filter", 1)
1221 1221
 	</section>
1222 1222
 
1223 1223
 	<section id="usrloc.p.version_table">
1224
-		<title><varname>version_table</varname> (integer)</title>
1224
+		<title><varname>version_table</varname> (int)</title>
1225 1225
 		<para>
1226 1226
 		If set to 0, the module will skip checking the version
1227 1227
 		for location table.