diff --git a/core/AmConfig.cpp b/core/AmConfig.cpp index 085b4053..4ad08788 100644 --- a/core/AmConfig.cpp +++ b/core/AmConfig.cpp @@ -366,6 +366,13 @@ int AmConfig::readConfiguration() } } + 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")){ diff --git a/core/etc/sems.conf.sample b/core/etc/sems.conf.sample index e96fc79a..3e33409e 100644 --- a/core/etc/sems.conf.sample +++ b/core/etc/sems.conf.sample @@ -388,3 +388,9 @@ use_default_signature=yes # e.g. sysctl -w net.core.rmem_max=8388608 # # udp_rcvbuf = + +# Number of SIP UDP receiver threads +# +# Default: 4 +# +# sip_server_threads=8 \ No newline at end of file