Module: kamailio
Branch: master
Commit: b7a94208df3e4259a8f44d864e9712261fbb888a
URL:
https://github.com/kamailio/kamailio/commit/b7a94208df3e4259a8f44d864e97122…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-05-09T14:01:49+02:00
modules: readme files regenerated - secfilter ... [skip ci]
---
Modified: src/modules/secfilter/README
---
Diff:
https://github.com/kamailio/kamailio/commit/b7a94208df3e4259a8f44d864e97122…
Patch:
https://github.com/kamailio/kamailio/commit/b7a94208df3e4259a8f44d864e97122…
---
diff --git a/src/modules/secfilter/README b/src/modules/secfilter/README
index c9bdf238d9..7cbabac6c8 100644
--- a/src/modules/secfilter/README
+++ b/src/modules/secfilter/README
@@ -341,11 +341,11 @@ klisted");
Example 1.9. secf_check_country usage
...
- if (geoip_match("$si", "src")) {
- secf_check_country($gip(src=>cc));
+ if (geoip2_match("$si", "src")) {
+ secf_check_country($gip2(src=>cc));
if ($avp(secfilter) == -2) {
xlog("L_ALERT", "$rm from $si blocked because
Country '$
-gip(src=>cc)' is blacklisted");
+gip2(src=>cc)' is blacklisted");
exit;
}
}