From 695e4d8de2741832635d066fc7fe1e5ff073bd3d Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Wed, 9 Jan 2019 17:03:40 +0200 Subject: [PATCH] Update for Readme Dispatcher module Update for Readme Dispatcher module. I added some minor comments for dispatcher module, what I think might be useful for somebody. --- src/modules/dispatcher/README | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README index 53a464d8ffc..c0f62f22e34 100644 --- a/src/modules/dispatcher/README +++ b/src/modules/dispatcher/README @@ -697,10 +697,10 @@ Note Controls what gateways are tested to see if they are reachable. * Value 0: If set to 0, only the gateways with state PROBING are tested. After a gateway is probed, the PROBING state is cleared in - this mode. + this mode. This means that no probing will be executed at all and if flag in config file is set to 8/PROBING(please check "Destination List File" for more details), it will probe only one time at startup or reload of dispatcher. * Value 1: If set to 1, all gateways are tested. If set to 1 and there is a failure of keepalive to an active gateway, then it is - set to TRYING state. + set to TRYING state. This means that probing will be executed all the time, but you can skip some servers with flag 4. * Value 2: if set to 2, only gateways in inactive state with probing mode set are tested. * Value 3: If set to 3, any gateway with state PROBING is continually @@ -1388,6 +1388,14 @@ kamcmd dispatcher.set_state ip 3 all Example: kamcmd dispatcher.list + ... +DEST: { + URI: sip:1.2.3.4 + FLAGS: AX + PRIORITY: 9 +} + ... + AX - active but not probing, X on the end mens that there no probing enabled. DX for example disabled and no probing. 5.3. dispatcher.reload