Dear Team,
Any one pls help me , i have been struck with this more than 2 months , i have keep on changing the kamailio.cfg but nothing has worked .
Initially i had plan to user captagent but unfortunately i couldn't run in CentOS since its failing in init procedure , because document which is provided in github is only for other OS .
so planned to use kamailio as capture server .
When ever i tried to run sipgrep , its showing data running on my server .
And when i used command kamailio -c , i can see below interface is listening , but its not capturing any data and sending to mysql .
root@localhost kamailio]# kamailio -c
0(6624) WARNING: <core> [ppcfg.c:221]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1
Listening on
udp: 172.16.5.158:9060
Aliases:
udp: localhost.localdom:9060
udp: localhost.localdomain:9060
And My sql is running fine without any issue .
Any one can pls audit my configuration and advise me .
because am New to Centos and homer .
Thanks in advance
--
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/1202
### 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