diff --git a/kamailio/default.cfg b/kamailio/default.cfg index af3ace8..aa6427e 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -88,6 +88,9 @@ dns_srv_lb = off ####### SCTP Parameters ######### disable_sctp = yes +####### multi homed ######### +mhomed=KZ_MULTI_HOMED + ######## Kamailio mqueue module ######## loadmodule "mqueue.so" diff --git a/kamailio/defs.cfg b/kamailio/defs.cfg index f7eb69e..426f711 100644 --- a/kamailio/defs.cfg +++ b/kamailio/defs.cfg @@ -104,19 +104,6 @@ #!trydef KZ_TLS_REGISTRAR_PORT 7000 #!endif -################################################################################ -## BINDINGS -################################################################################ -## This parameter is OPTIONAL. -## It will try to locate outbound interface -## on multihomed host. By default forward -## requests use the incoming socket disregarding -## the destination location. When enabled Kamailio -## will select a socket that can reach the -## destination. This reduces performance. -mhomed=KZ_MULTI_HOMED - - #!trydef KZ_FAST_PICKUP_COOKIES 1 #!trydef KZ_FAST_PICKUP_REALTIME 1 diff --git a/kamailio/local.cfg b/kamailio/local.cfg index 36b0363..9bb050b 100644 --- a/kamailio/local.cfg +++ b/kamailio/local.cfg @@ -75,13 +75,14 @@ ## BINDINGS ################################################################################ ## This parameter is OPTIONAL. +## when set to 1, ## It will try to locate outbound interface ## on multihomed host. By default forward ## requests use the incoming socket disregarding ## the destination location. When enabled Kamailio ## will select a socket that can reach the ## destination. This reduces performance. -mhomed=0 +##!define KZ_MULTI_HOMED 1 ################################################################################ ## KZ_DISABLE_REGISTRAR_PORTS