[sr-dev] git:master:f073f72a: dispatcher: docs - make a bullet list for the possible values for flags field

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 28 17:39:54 CET 2018


Module: kamailio
Branch: master
Commit: f073f72af6a507e8113e06dc07ad161e3f4632c3
URL: https://github.com/kamailio/kamailio/commit/f073f72af6a507e8113e06dc07ad161e3f4632c3

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-11-28T17:38:56+01:00

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

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/f073f72af6a507e8113e06dc07ad161e3f4632c3.diff
Patch: https://github.com/kamailio/kamailio/commit/f073f72af6a507e8113e06dc07ad161e3f4632c3.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