Author: rco
Date: 2010-04-16 17:39:24 +0200 (Fri, 16 Apr 2010)
New Revision: 1805

Modified:
   trunk/core/AmConfig.cpp
   trunk/core/etc/sems.conf.sample
Log:
- sip_server_threads configuration parameter added.


Modified: trunk/core/AmConfig.cpp
===================================================================
--- trunk/core/AmConfig.cpp     2010-04-16 15:33:37 UTC (rev 1804)
+++ trunk/core/AmConfig.cpp     2010-04-16 15:39:24 UTC (rev 1805)
@@ -366,7 +366,14 @@
     }
   }
 
+  if(cfg.hasParameter("sip_server_threads")){
+    if(!setSIPServerThreads(cfg.getParameter("sip_server_threads"))){
+      ERROR("invalid sip_server_threads value specified");
+      return -1;
+    }
+  }
 
+
   // single codec in 200 OK
   if(cfg.hasParameter("single_codec_in_ok")){
     SingleCodecInOK = (cfg.getParameter("single_codec_in_ok") == "yes");

Modified: trunk/core/etc/sems.conf.sample
===================================================================
--- trunk/core/etc/sems.conf.sample     2010-04-16 15:33:37 UTC (rev 1804)
+++ trunk/core/etc/sems.conf.sample     2010-04-16 15:39:24 UTC (rev 1805)
@@ -388,3 +388,9 @@
 # e.g. sysctl -w net.core.rmem_max=8388608
 #
 # udp_rcvbuf = <value>
+
+# Number of SIP UDP receiver threads
+#
+# Default: 4
+#
+# sip_server_threads=8
\ No newline at end of file

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to