Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
41bdb34095
1 zmenil súbory, kde vykonal 6 pridanie a 3 odobranie
  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) */
 tcp_max_connections=2048
 
+#!ifdef WITH_JSONRPC
+tcp_accept_no_cl=yes
+#!endif
+
 #!ifdef WITH_TLS
 enable_tls=yes
 
@@ -199,9 +203,8 @@ enable_tls=yes
 tls_max_connections=2048
 #!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 #########