Browse code

- new modules implementing script callable blacklist functions: blst_add([timeout]) - adds the message source to the blacklist blst_add_retry_after(min, max) - adds the message source to the blacklist using the Retry-After header value as the timeout value (if not present it returns false) blst_del() - deletes the message source from the blacklist blst_is_blacklisted() - returns true if the message source is in the blacklist (for more info see the module docs)

Andrei Pelinescu-Onciul authored on 30/07/2007 20:04:12
Showing 1 changed files
... ...
@@ -7,7 +7,14 @@ $Id$
7 7
 2.1.0 changes
8 8
 
9 9
 modules:
10
- - tm        - different error replies for too many branches (500 but with
10
+ - blst      - new module containing script blacklist manipulations functions
11
+               (the source of a message can be blacklisted, removed from the
12
+                blacklist or checked for presence in the blacklist).
13
+ - tm        - support for adding a 503 reply source to the blacklist for
14
+               the time specified in the Retry-After header (see the new tm
15
+               parameters blst_503, blst_503_def_timeout, blst_503_min_timeout
16
+               and blst_503_max_timeout).
17
+             - different error replies for too many branches (500 but with
11 18
                different text), resolve error (478) or send error
12 19
                (477).
13 20
              - tm can be configured not to automatically send 100 replies
... ...
@@ -35,6 +42,22 @@ modules:
35 35
              - behaviour when receiving a CANCEL which doesn't match any 
36 36
                transaction can be selected using the unmatched_cancel param.
37 37
              - params: 
38
+                        - blst_503 - if set and if the blacklist is used
39
+                          (use_dst_blacklist=1), add the source of a 503 reply
40
+                          to the blacklist
41
+                        - blst_503_def_timeout - if the Retry-After header from
42
+                          a 503 reply is missing, use this value for the 
43
+                          blacklist timeout (in s). Depends on blst_503.
44
+                          The default value is dst_blacklist_expire (60s if 
45
+                          not changed in the config script).
46
+                        - blst_503_min_timeot (in s) - if the 503 reply 
47
+                          Retry-After header value is less, use this value
48
+                          for the blacklist timeout. Depends on blst_503.
49
+                          The default value is 0.
50
+                        - blst_503_max_timeout (in s) - if the 503 reply 
51
+                          Retry-After header value is greater, use this value
52
+                          instead. Depends on blst_503.
53
+                          The default value is 3600 s.
38 54
                         - auto_inv_100 - if set (default) tm will automatically
39 55
                           send an 100 reply to INVITEs (see also 
40 56
                          t_set_auto_inv_100())