From c856dd5a1ac7470ced49a2ad68911f160b8279a8 Mon Sep 17 00:00:00 2001 From: lazedo Date: Tue, 20 Aug 2019 15:25:29 +0000 Subject: [PATCH] change some defaults for better user experience --- kamailio/defs.cfg | 4 ++-- kamailio/kazoo-bindings.cfg | 2 +- kamailio/presence-role.cfg | 4 ++-- kamailio/registrar-role.cfg | 4 ++-- kamailio/websockets-role.cfg | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kamailio/defs.cfg b/kamailio/defs.cfg index 4a19595..8619f6d 100644 --- a/kamailio/defs.cfg +++ b/kamailio/defs.cfg @@ -49,12 +49,12 @@ #!trydef TCP_CHILDREN 25 #!trydef TCP_MAX_CONNECTIONS 4096 -#!trydef TCP_CONNECTION_LIFETIME 60 +#!trydef TCP_CONNECTION_LIFETIME 3605 #!trydef TCP_CONNECTION_TIMEOUT 5 #!trydef TCP_KEEP_ALIVE yes #!trydef TCP_KEEP_COUNT 3 #!trydef TCP_KEEP_IDLE 30 -#!trydef TCP_KEEP_INTERVAL 5 +#!trydef TCP_KEEP_INTERVAL 30 #!trydef TCP_SEND_TIMEOUT 3 #!include_file "defs-amqp.cfg" diff --git a/kamailio/kazoo-bindings.cfg b/kamailio/kazoo-bindings.cfg index 292dd80..d0187a9 100644 --- a/kamailio/kazoo-bindings.cfg +++ b/kamailio/kazoo-bindings.cfg @@ -2,7 +2,7 @@ ### ### -#!trydef KZ_PUA_PRESENCE_USE_FULL_ENTITY 0 +#!trydef KZ_PUA_PRESENCE_USE_FULL_ENTITY 1 ####### Kazoo Integration module ########## loadmodule "kazoo.so" diff --git a/kamailio/presence-role.cfg b/kamailio/presence-role.cfg index 0f73535..f3b0824 100644 --- a/kamailio/presence-role.cfg +++ b/kamailio/presence-role.cfg @@ -13,8 +13,8 @@ #!trydef KZ_PRESENCE_NO_TARGETS_LOG_LEVEL L_DBG #!trydef KZ_PRESENCE_WITH_TARGETS_LOG_LEVEL L_INFO #!trydef KZ_PRESENCE_REQUIRE_AUTHN 0 -#!trydef KZ_PRESENCE_KEEPALIVE_NAT_ONLY 0 -#!trydef KZ_PRESENCE_KEEPALIVE_UDP_ONLY 0 +#!trydef KZ_PRESENCE_KEEPALIVE_NAT_ONLY 1 +#!trydef KZ_PRESENCE_KEEPALIVE_UDP_ONLY 1 #!ifdef NAT_TRAVERSAL_ROLE diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index 52952be..e367a9b 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -17,7 +17,7 @@ #!trydef REGISTRAR_QUERY_TIMEOUT_MS 2500 #!trydef REGISTRAR_HANDLE_LOST_TCP 1 -#!trydef REGISTRAR_CLOSE_EXPIRED_TCP 0 +#!trydef REGISTRAR_CLOSE_EXPIRED_TCP 1 #!trydef REGISTRAR_HANDLE_EXPIRED_TCP 1 #!trydef REGISTRAR_HANDLE_EXPIRED_UDP 0 #!trydef REGISTRAR_HANDLE_EXPIRED_TLS 1 @@ -25,7 +25,7 @@ #!trydef REGISTRAR_FORCE_QUERY 0 #!trydef REGISTRAR_FORCE_FAILOVER 0 #!trydef REGISTRAR_CHECK_AMQP_AVAILABILITY 1 -#!trydef KZ_REGISTRAR_KEEPALIVE_UDP_ONLY 0 +#!trydef KZ_REGISTRAR_KEEPALIVE_UDP_ONLY 1 #!trydef REGISTRAR_AMQP_EXCHANGE callmgr #!trydef REGISTRAR_AMQP_FLAGS 0 #!trydef REGISTRAR_AMQP_RK_PREFIX authn.req. diff --git a/kamailio/websockets-role.cfg b/kamailio/websockets-role.cfg index 2c8b77b..53c9c8d 100644 --- a/kamailio/websockets-role.cfg +++ b/kamailio/websockets-role.cfg @@ -18,7 +18,7 @@ modparam("htable", "htable", "websockets=>size=16;initval=0") loadmodule "xhttp.so" -#!trydef WS_KEEPALIVE_MECHANISM 0 +#!trydef WS_KEEPALIVE_MECHANISM 3 #!trydef WS_KEEPALIVE_TIMEOUT 30 #!trydef WS_KEEPALIVE_PROCESSES 3 #!trydef WS_KEEPALIVE_INTERVAL 1