I also saw in other tickets, sometimes module loading order is an issue. In my case:
```
# cat /lib/systemd/system/kamailio.service
[Unit]
Description=Kamailio SIP Server
Documentation=man:kamailio(8)
https://www.kamailio.org/
After=network.target postgresql.service
[Service]
Type=notify
User=kamailio
Environment=SHM_SIZE=128 PKG_SIZE=8
ExecStartPre=/usr/sbin/kamailio -c
ExecStart=/usr/sbin/kamailio -DD --loadmodule=systemdops.so -m $SHM_SIZE -M $PKG_SIZE
ProtectHome=true
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target
```
```
# grep ^loadmodule /etc/kamailio/kamailio.cfg
loadmodule "log_systemd.so"
loadmodule "db_postgres.so"
loadmodule "xhttp.so"
loadmodule "jsonrpcs.so"
loadmodule "kex.so"
loadmodule "corex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "stun.so"
loadmodule "outbound.so"
loadmodule "rr.so"
loadmodule "path.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "siputils.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
loadmodule "cfg_rpc.so"
loadmodule "acc.so"
loadmodule "counters.so"
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "permissions.so"
loadmodule "alias_db.so"
loadmodule "speeddial.so"
loadmodule "domain.so"
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "nathelper.so"
loadmodule "rtpengine.so"
loadmodule "rtpproxy.so"
loadmodule "tls.so"
loadmodule "htable.so"
loadmodule "pike.so"
loadmodule "debugger.so"
loadmodule "topos.so"
loadmodule "jansson.so"
loadmodule "dialog.so"
loadmodule "group.so"
loadmodule "imc.so"
loadmodule "lcr.so"
loadmodule "app_python3.so"
loadmodule "textopsx.so"
loadmodule "msilo.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_mwi.so"
loadmodule "pua.so"
loadmodule "pua_dialoginfo.so"
loadmodule "ipops.so"
loadmodule "sdpops.so"
loadmodule "sipdump.so"
loadmodule "sqlops.so"
loadmodule "http_async_client.so"
loadmodule "uac.so"
loadmodule "diversion.so"
loadmodule "tmrec.so"
loadmodule "websocket.so"
loadmodule "auth_ephemeral.so"
```
--
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/2616#issuecomment-771115566