You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

45 lines
1.0 KiB

#!trydef TLS_CONFIG_FILE /etc/kazoo/kamailio/tls.cfg
#!substdef "!TLS_CFG!$def(TLS_CONFIG_FILE)!g"
enable_tls = yes
#!ifndef WITHOUT_DEFAULT_LISTENER
listen=TLS_LISTENER_SIP
listen=TLS_LISTENER_ALG
#!endif
#!ifdef WITH_EXTERNAL_TLS_LISTENER
listen=TLS_EXTERNAL_LISTENER_SIP
listen=TLS_EXTERNAL_LISTENER_ALG
#!else
#!ifdef WITH_EXTERNAL_TLS_SIP_LISTENER
listen=TLS_EXTERNAL_LISTENER_SIP
#!endif
#!ifdef WITH_EXTERNAL_TLS_ALG_LISTENER
listen=TLS_EXTERNAL_LISTENER_ALG
#!endif
#!endif
#!ifdef WITH_LOAD_BALANCED_TLS_LISTENER
listen=TLS_LOAD_BALANCED_LISTENER_SIP
listen=TLS_LOAD_BALANCED_LISTENER_ALG
#!else
#!ifdef WITH_LOAD_BALANCED_TLS_SIP_LISTENER
listen=TLS_LOAD_BALANCED_LISTENER_SIP
#!endif
#!ifdef WITH_LOAD_BALANCED_TLS_ALG_LISTENER
listen=TLS_LOAD_BALANCED_LISTENER_ALG
#!endif
#!endif
####### TLS Parameters #########
loadmodule "tls.so"
modparam("tls", "config", "TLS_CFG")
modparam("tls", "low_mem_threshold1", 1)
modparam("tls", "low_mem_threshold2", 1)
modparam("tls", "xavp_cfg", "tls")
modparam("debugger", "mod_level", "tls=1")