[SR-Users] secfilter not working for me
Joli Martinez
mrjoli021 at gmail.com
Tue Mar 10 21:41:10 CET 2020
I have a fresh install of Kamailio 5.2.5 on CentOS7. I am trying to
install the secfilter module as per the link below
https://www.kamailio.org/wiki/tutorials/security/kamailio-security
When I restarted the service it is not finding the geoid or secfilter
module. From what I was reading there are no dependencies or anything to
install. What am I missing?
-------------------------------------------------
Mar 10 16:30:47 kamailio01 systemd: Started Kamailio (OpenSER) - the Open
Source SIP Server.
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/sr_module.c:487]:
load_module(): could not find module <geoip2> in
</usr/lib64/kamailio/modules>
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
300, column 15-25: failed to load module
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/sr_module.c:487]:
load_module(): could not find module <secfilter> in
</usr/lib64/kamailio/modules>
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
301, column 15-28: failed to load module
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/modparam.c:152]:
set_mod_param_regex(): No module matching <secfilter> found
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
322, column 81: Can't set module parameter
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/modparam.c:152]:
set_mod_param_regex(): No module matching <secfilter> found
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
323, column 43: Can't set module parameter
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/cfg.y:3371]:
yyparse(): cfg. parser: failed to find command geoip2_match (params 2)
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3511]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
614, column 38: unknown command, missing loadmodule?
Mar 10 16:30:47 kamailio01 kamailio: ERROR: bad config file (6 errors)
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/pvapi.c:915]:
pv_parse_spec2(): error searching pvar "gip2"
Mar 10 16:30:47 kamailio01 kamailio: ERROR: <core> [core/pvapi.c:1119]:
pv_parse_spec2(): wrong char [s/115] in [$gip2(src=>cc)] at [6 (5)]
Mar 10 16:30:47 kamailio01 kamailio: CRITICAL: <core> [core/cfg.y:3508]:
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line
615, column 36-49: Can't get from cache: $gip2(src=>cc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200310/b0495192/attachment.html>
More information about the sr-users
mailing list