Browse Source

kamailio.cfg: set disable_sctp to yes

- in auto mode a log message is printed about not having sctp module
loaded, which is not done in the default config
Daniel-Constantin Mierla 5 years ago
parent
commit
41bdb34095
1 changed files with 6 additions and 3 deletions
  1. 6 3
      etc/kamailio.cfg

+ 6 - 3
etc/kamailio.cfg

@@ -192,6 +192,10 @@ tcp_connection_lifetime=3605
 /* upper limit for TCP connections (it includes the TLS connections) */
 /* upper limit for TCP connections (it includes the TLS connections) */
 tcp_max_connections=2048
 tcp_max_connections=2048
 
 
+#!ifdef WITH_JSONRPC
+tcp_accept_no_cl=yes
+#!endif
+
 #!ifdef WITH_TLS
 #!ifdef WITH_TLS
 enable_tls=yes
 enable_tls=yes
 
 
@@ -199,9 +203,8 @@ enable_tls=yes
 tls_max_connections=2048
 tls_max_connections=2048
 #!endif
 #!endif
 
 
-#!ifdef WITH_JSONRPC
-tcp_accept_no_cl=yes
-#!endif
+/* set it to yes to enable sctp and load sctp.so module */
+disable_sctp = yes
 
 
 ####### Custom Parameters #########
 ####### Custom Parameters #########