We're using version: kamailio 5.0.7 (x86_64/linux) 743c2d and pl_check() using TAILDROP algorithm is only triggered when the pipe counter is greater than "interval" * "timer_interval".

Example:

modparam("pipelimit", "timer_interval", 3)
modparam("pipelimit", "hash_size", 10)
modparam("pipelimit", "db_url", DBURL)
modparam("pipelimit", "reply_code", 503)
modparam("pipelimit", "reply_reason", "CPS Limit reached")

      if (!pl_check("$si", "TAILDROP", "20")) {
        pl_drop();
        exit;
      }

Result: pl_check is only triggered when "PIPE: id=10.0.0.2 load=0 counter=61"


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.