From 8349bd727e7fc0d7a0b8cc0bf6ce69619bb17847 Mon Sep 17 00:00:00 2001 From: lazedo Date: Sat, 17 Nov 2018 14:07:29 +0000 Subject: [PATCH] move rtimer load to default --- kamailio/default.cfg | 3 +++ kamailio/dispatcher-role.cfg | 5 ----- kamailio/nodes-role.cfg | 5 ----- kamailio/presence-notify.cfg | 5 ----- 4 files changed, 3 insertions(+), 15 deletions(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 361575d..c794c45 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -164,6 +164,9 @@ loadmodule "pv.so" loadmodule "async.so" modparam("async", "workers", KZ_ASYNC_WORKERS) +####### RTIMER module ########## +loadmodule "rtimer.so" + ######## Advanced logger module ######## loadmodule "xlog.so" diff --git a/kamailio/dispatcher-role.cfg b/kamailio/dispatcher-role.cfg index eeb4cdb..aecf3a0 100644 --- a/kamailio/dispatcher-role.cfg +++ b/kamailio/dispatcher-role.cfg @@ -38,11 +38,6 @@ modparam("dispatcher", "ds_ping_from", "sip:sipcheck@MY_HOSTNAME") ## 20 - Registrar servers (if not locally handled) -####### RTIMER module for dispatcher reload ########## -#!ifndef RTIMER_LOADED -loadmodule "rtimer.so" -#!trydef RTIMER_LOADED -#!endif modparam("rtimer", "timer", "name=dispatcher_reload;interval=20;mode=1;") modparam("rtimer", "exec", "timer=dispatcher_reload;route=DISPATCHER_RELOAD") diff --git a/kamailio/nodes-role.cfg b/kamailio/nodes-role.cfg index 8faf114..1976773 100644 --- a/kamailio/nodes-role.cfg +++ b/kamailio/nodes-role.cfg @@ -6,11 +6,6 @@ modparam("htable", "htable", "nodes=>size=8;initval=0;autoexpire=60"); modparam("htable", "htable", "media=>size=8;initval=0;autoexpire=60"); -####### RTIMER module ########## -#!ifndef RTIMER_LOADED -loadmodule "rtimer.so" -#!trydef RTIMER_LOADED -#!endif modparam("rtimer", "timer", "name=ta;interval=2;mode=2;") modparam("rtimer", "timer", "name=retry;interval=5;mode=2;") modparam("rtimer", "timer", "name=pub;interval=10;mode=1;") diff --git a/kamailio/presence-notify.cfg b/kamailio/presence-notify.cfg index 58f3ab5..4a33f24 100644 --- a/kamailio/presence-notify.cfg +++ b/kamailio/presence-notify.cfg @@ -40,11 +40,6 @@ route[PRESENCE_LOCAL_NOTIFY] modparam("mqueue","mqueue", "name=presence_last_notity") -####### RTIMER module ########## -#!ifndef RTIMER_LOADED -loadmodule "rtimer.so" -#!trydef RTIMER_LOADED -#!endif modparam("rtimer", "timer", "name=notifytimer;interval=500000u;mode=1;") modparam("rtimer", "exec", "timer=notifytimer;route=PRESENCE_LOG_TIMER_ROUTE") modparam("rtimer", "timer", "name=pres_cleanup;interval=10;mode=1;")