Copyright © 2007 iptelorg GmbH
| Revision History | |
|---|---|
| Revision $Revision: 1.1 $ | $Date: 2007/07/30 20:04:13 $ |
Adds the source of the current message to the blacklist for timeout seconds. If timeout is missing or 0 it uses the default blacklist timeout (dst_blacklist_expire).
Adds the source of the current message to the blacklist for the time interval specified in the Retry-After header. If the Retry-After header is missing, it will fail (returns false). If the Retry-After value is less then min, then min seconds will be used instead. If the Retry-After value is greater then max, then max seconds will be used instead.
Removes the source of the current message from the blacklist. If the address is not present in the blacklist at the time of the call it returns false.