From ea85dd4b5d5275c4fe120c03501f962e58d4e1e1 Mon Sep 17 00:00:00 2001 From: Carlos Cruz Date: Thu, 21 Mar 2024 19:24:38 +0100 Subject: [PATCH] kamailio: make some htable tables reboot-persistent --- kamailio/trunks/config/kamailio.cfg | 2 +- kamailio/users/config/kamailio.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kamailio/trunks/config/kamailio.cfg b/kamailio/trunks/config/kamailio.cfg index ac0b974c77..6990a8ccf4 100644 --- a/kamailio/trunks/config/kamailio.cfg +++ b/kamailio/trunks/config/kamailio.cfg @@ -312,7 +312,7 @@ modparam("pike", "remove_latency", 120) modparam("htable", "htable", "ipban=>size=8;autoexpire=300") #!endif modparam("htable", "htable", "cgrconn=>size=1;") -modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;") +modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;dbmode=1") modparam("htable", "enable_dmq", 1) # UAC diff --git a/kamailio/users/config/kamailio.cfg b/kamailio/users/config/kamailio.cfg index cf816d3014..83d0572eb5 100644 --- a/kamailio/users/config/kamailio.cfg +++ b/kamailio/users/config/kamailio.cfg @@ -364,8 +364,8 @@ modparam("htable", "htable", "ipban=>size=8;autoexpire=300") #!endif # dialogs htable contains aleg, bleg and applicationserver per dialog -modparam("htable", "htable", "dialogs=>size=10;autoexpire=10800") -modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;") +modparam("htable", "htable", "dialogs=>size=10;autoexpire=10800;dbmode=1") +modparam("htable", "htable", "dmq=>size=8;autoexpire=10800;dmqreplicate=1;dbmode=1") modparam("htable", "htable", "srcban=>size=8;autoexpire=43200") modparam("htable", "htable", "badauthcnt=>size=8;autoexpire=43200") modparam("htable", "htable", "aors=>size=10")