[sr-dev] git:5.2:8a29423b: dispatcher: docs - make a bullet list for the possible values for flags field

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 4 09:11:22 CET 2018


Module: kamailio
Branch: 5.2
Commit: 8a29423b708029b5d569890bc9681a21bf5ebf16
URL: https://github.com/kamailio/kamailio/commit/8a29423b708029b5d569890bc9681a21bf5ebf16

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-12-04T09:06:07+01:00

dispatcher: docs - make a bullet list for the possible values for flags field

(cherry picked from commit f073f72af6a507e8113e06dc07ad161e3f4632c3)

---

Modified: src/modules/dispatcher/doc/dispatcher_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/8a29423b708029b5d569890bc9681a21bf5ebf16.diff
Patch: https://github.com/kamailio/kamailio/commit/8a29423b708029b5d569890bc9681a21bf5ebf16.patch

---

diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 34a4a1559a..023f6a0ba2 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1776,12 +1776,23 @@ onreply_route {
 		</para>
 		<itemizedlist>
 			<listitem>
-			<para>flags (listed by index - can be bitwise mask of values):
-			0 (value 1) - inactive destination; 1 (value 2) - temporary trying
-			destination (in the way to become inactive if it does not reply to
-			keepalives - there is a module parameter to set the threshold of
-			failures); 2 (value 4)  - admin disabled destination; 3 (value 8)
-			- probing destination (sending keep alives);</para>
+			<para>flags - control the mode of using the destination address and
+			sending keepalives. It is a bitwise value that can be built using
+			the folowing flags:
+			<itemizedlist>
+				<listitem><para>1 (bit at index 0 - 1 <<0) - inactive destination<para>
+				</listitem>
+				<listitem><para>2 (bit at index 1 - 1 <<1) - temporary trying
+				destination (in the way to become inactive if it does not reply to
+				keepalives - there is a module parameter to set the threshold of
+				failures)<para>
+				</listitem>
+				<listitem><para>4 (bit at index 2 - 1 <<2) - admin disabled destination<para>
+				</listitem>
+				<listitem><para>8 (bit at index 3 - 1 <<3) - probing destination (sending keep alives);</para>
+				</listitem>
+			</itemizedlist>
+			</para>
 			</listitem>
 			<listitem>
 			<para>priority: sets the priority in destination list (based on it




More information about the sr-dev mailing list