I know in ratelimit, you can define a method within queues... for
example, modparam("ratelimit", "queue", "3:INVITE") to match on INVITE
method.

With pipelimit, is the method called from the config, such as:

if(is_method("INVITE")) {
  # Checking limit on INVITE
  if (!pl_check("$au", "traildrop", "$var(limita)")) {
    pl_drop();
    exit;
  }
}

if(is_method("REGISTER")) {
  # Checking limit on REGISTER
  if (!pl_check("$au", "traildrop", "$var(limitb)")) {
    pl_drop();
    exit;
  }
}

-- 
Fred Posner
The Palner Group, Inc.
http://www.palner.com (web)
+1-503-914-0999 (direct)

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to