os: Linux mydomain.com 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
installation method:
apt-get install kamailio kamailio-mysql-modules kamailio-tls-modules
MySQL working excellent.
But when i try to add: #!define WITH_TLS
to /etc/kamailio/kamailio.cfg
i always get error:
Sep 06 23:06:28 mydomain.com kamailio[32437]: ERROR: <core> [sr_module.c:602]: load_module(): /usr/lib/x86_64-linux-gnu/kamailio/modules/tls.so: mod_register failed
Sep 06 23:06:28 mydomain.com kamailio[32437]: : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 279, column 12-19: failed to l
Sep 06 23:06:28 mydomain.com kamailio[32437]: ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <tls> found
Sep 06 23:06:28 mydomain.com kamailio[32437]: : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 438, column 50: Can't set modu
Sep 06 23:06:28 mydomain.com kamailio[32437]: ERROR: bad config file (2 errors)
Sep 06 23:06:28 mydomain.com kamailio[32437]: loading modules under config path: /usr/lib/x86_64-linux-gnu/kamailio/modules/
Sep 06 23:06:28 mydomain.com systemd[1]: kamailio.service: Control process exited, code=exited status=255
Sep 06 23:06:28 mydomain.com systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
Sep 06 23:06:28 mydomain.com systemd[1]: kamailio.service: Unit entered failed state.
Sep 06 23:06:28 mydomain.com systemd[1]: kamailio.service: Failed with result 'exit-code'.
in my kamailio.cfg enable_tls is set to yes
#!ifdef WITH_TLS
enable_tls=yes
line 279:
#!ifdef WITH_TLS
loadmodule "tls.so"
#!endif
and line 438:
#!ifdef WITH_TLS
# ----- tls params -----
modparam("tls", "config", "/etc/kamailio/tls.cfg")
#!endif
root@mydomain:/usr/lib/x86_64-linux-gnu/kamailio/modules# ll /usr/lib/x86_64-linux-gnu/kamailio/modules/tls.so
-rw-r--r-- 1 root root 433872 Apr 5 16:39 /usr/lib/x86_64-linux-gnu/kamailio/modules/tls.so
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.