Browse Source

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

Kamailio Dev 1 year ago
parent
commit
e55d9f50be
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/modules/dispatcher/README

+ 8 - 4
src/modules/dispatcher/README

@@ -1491,10 +1491,14 @@ if(ds_list_exists("10")) {
        set, then port is ignored. If bit two is set, then protocol is
        set, then port is ignored. If bit two is set, then protocol is
        ignored. If bit three is set, then state must be active. If bit
        ignored. If bit three is set, then state must be active. If bit
        four is set, then socket/sockname be matched. If bit five is set,
        four is set, then socket/sockname be matched. If bit five is set,
-       then try to find the most complete "address/protocol/port/local
-       socket" combination for all dispatcher targets. The parameter can
-       be an integer or a variable holding an integer value. It must be
-       provided if the uri parameter is provided.
+       then try to find the most closest target from all dispatcher
+       targets with the mandatory ip and combination of local socket,
+       protocol, port, the weighted search result is combined from bit
+       flags of matched components: ip - 1, port - 2, protocol - 4, local
+       socket - 8, the target with the maximum value of flags combination
+       will be selected. The parameter can be an integer or a variable
+       holding an integer value. It must be provided if the uri parameter
+       is provided.
      * uri (optional) - if parameter is empty or missing, the matching is
      * uri (optional) - if parameter is empty or missing, the matching is
        done against source IP, port and protocol. Otherwise the value has
        done against source IP, port and protocol. Otherwise the value has
        to be a valid SIP URI, used to match against addresses in the
        to be a valid SIP URI, used to match against addresses in the