Browse code

modules: readme files regenerated - dispatcher ... [skip ci]

Kamailio Dev authored on 10/01/2019 21:01:38
Showing 1 changed files
... ...
@@ -697,10 +697,15 @@ Note
697 697
    Controls what gateways are tested to see if they are reachable.
698 698
      * Value 0: If set to 0, only the gateways with state PROBING are
699 699
        tested. After a gateway is probed, the PROBING state is cleared in
700
-       this mode.
700
+       this mode. This means that no probing will be executed at all only
701
+       if flag in config file is set to 8/PROBING (please check
702
+       destination list file syntaxis for more details), it will probe
703
+       only one time at startup or after dispatcher reload.
701 704
      * Value 1: If set to 1, all gateways are tested. If set to 1 and
702 705
        there is a failure of keepalive to an active gateway, then it is
703
-       set to TRYING state.
706
+       set to TRYING state. This means that probing will be executed all
707
+       the time, but you can skip some servers with flag 4 in destination
708
+       list file, for example.
704 709
      * Value 2: if set to 2, only gateways in inactive state with probing
705 710
        mode set are tested.
706 711
      * Value 3: If set to 3, any gateway with state PROBING is continually
... ...
@@ -1388,6 +1393,21 @@ kamcmd dispatcher.set_state ip 3 all
1388 1388
 
1389 1389
    Example:
1390 1390
                 kamcmd dispatcher.list
1391
+ ...
1392
+DEST: {
1393
+        URI: sip:192.168.0.1:5060
1394
+        FLAGS: AP
1395
+        PRIORITY: 12
1396
+}
1397
+ ...
1398
+
1399
+   FLAGS consist out of 2 letters. First letter describe status of
1400
+   destination: A-active, I – inactive, T – trying, D – disabled.
1401
+   Second letter might be P or X. P is for probing, so AP means
1402
+   destination is active and it is tested by SIP options continuously. X
1403
+   means that there are no probing or sip pinging. So AX means that
1404
+   destination is assumed as active and it is not tested by SIP options.
1405
+   DX respectively is disabled destination what is not tested and etc.
1391 1406
 
1392 1407
 5.3.  dispatcher.reload
1393 1408