|
@@ -167,6 +167,9 @@ listen=224.0.1.75 # sip.mcast.net for REGISTER replication
|
|
|
#DEBCONF-LISTEN_ADMIN-START
|
|
|
listen=udp:127.0.0.1
|
|
|
#DEBCONF-LISTEN_ADMIN-END
|
|
|
+
|
|
|
+#listen=tls:127.0.0.1:5061
|
|
|
+
|
|
|
mlock_pages=yes
|
|
|
shm_force_alloc=yes
|
|
|
real_time=7
|
|
@@ -213,6 +216,9 @@ tcp_connection_lifetime=3600
|
|
|
#tcp_max_connections=10240 # default is 2048
|
|
|
tcp_connect_timeout=1
|
|
|
|
|
|
+# Enable TLS hooks so that the TLS module can be used
|
|
|
+tls_enable=yes
|
|
|
+
|
|
|
# -------------------- Custom Parameters ------------------------------------
|
|
|
# These parameters can be modified runtime via RPC interface,
|
|
|
# read the documentation of cfg_rpc module.
|
|
@@ -266,6 +272,7 @@ loadmodule "db_ops"
|
|
|
loadmodule "exec"
|
|
|
loadmodule "cfg_rpc"
|
|
|
loadmodule "eval"
|
|
|
+#loadmodule "tls"
|
|
|
|
|
|
# ----------------- Declaration of Script Flags -----------------------------
|
|
|
flags
|
|
@@ -478,6 +485,8 @@ modparam("exec", "setvars", 0);
|
|
|
modparam("timer", "declare_timer",
|
|
|
"ON_1MIN_TIMER=ON_1MIN_TIMER,60000,slow,enable");
|
|
|
|
|
|
+# -- tls --
|
|
|
+#modparam("tls", "config", "tls.cfg");
|
|
|
|
|
|
# -- db_ops --
|
|
|
|