Skip to content

Commit

Permalink
add default tls init mode
Browse files Browse the repository at this point in the history
* use KZ_TLS_INIT_MODE macro for tls init_mode modparam
* set KZ_TLS_INIT_MODE default value to 3. https://kamailio.org/docs/modules/devel/modules/tls.html#tls.p.init_mode
  • Loading branch information
lazedo committed Sep 19, 2023
1 parent 2bfeb07 commit cdbf6a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kamailio/tls-role.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!trydef TLS_CONFIG_FILE /etc/kazoo/kamailio/tls.cfg
#!trydef KZ_TLS_INIT_MODE 3

#!substdef "!TLS_CFG!$def(TLS_CONFIG_FILE)!g"

Expand Down Expand Up @@ -75,6 +76,7 @@ modparam("tls", "config", "TLS_CFG")
modparam("tls", "low_mem_threshold1", 1)
modparam("tls", "low_mem_threshold2", 1)
modparam("tls", "xavp_cfg", "tls")
modparam("tls", "init_mode", KZ_TLS_INIT_MODE)

modparam("debugger", "mod_level", "tls=1")

0 comments on commit cdbf6a2

Please sign in to comment.