### Description

In the documentation documentation for module pipelimit 
https://www.kamailio.org/docs/modules/4.2.x/modules/ratelimit.html
has an error in example:

```# perform pipe match for authenticated user
$var(limit) = 20;
if (!pl_check("$au", "traildrop", "$var(limit)")) {
        pl_drop();
        exit;
}
```

If write algorithm "traildrop" in function pl_check, you every execution will 
get return code -2 and pipe not will be created.


### Possible Solutions

Change string "traildrop" on "TAILDROP"

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
kamailio 4.2.3
```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1201
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to