Browse Source

fix kamailio role dependencies, add more async IO workers, and constrain erlang ports

3.17
karl anderson 12 years ago
parent
commit
ed4ae26a01
5 changed files with 12 additions and 7 deletions
  1. +3
    -1
      bigcouch/vm.args
  2. +2
    -1
      kamailio/default.cfg
  3. +0
    -4
      kamailio/nat-traversal-role.cfg
  4. +4
    -0
      kamailio/registrar-role.cfg
  5. +3
    -1
      vm.args

+ 3
- 1
bigcouch/vm.args View File

@ -16,12 +16,14 @@
+K true
# Start a pool of asynchronous IO threads
+A 16
+A 25
# Set the max port value to be the same as limits.d/bigcouch.limits
# +Q 65536
-env ERL_MAX_PORTS 65536
-kernel inet_dist_listen_min 11500 inet_dist_listen_max 11999
# Comment this line out to enable the interactive Erlang shell on startup
+Bd -noinput -detached


+ 2
- 1
kamailio/default.cfg View File

@ -130,6 +130,7 @@ modparam("rr", "enable_double_rr", 0)
######## Max-Forward processor module ########
loadmodule "maxfwd.so"
modparam("maxfwd", "max_limit", 50)
######## SIP utilities [requires sl] ########
loadmodule "siputils.so"
@ -427,7 +428,7 @@ failure_route[INTERNAL_FAULT]
remove_hf("X-Redirect-Server");
}
} else if (t_check_status("(401)|(407)")) {
} else if (t_check_status("(401)|(407)|(486)")) {
xlog("L_INFO", "$ci|log|failure route ignoring auth reply $T_reply_code $rr");
exit;


+ 0
- 4
kamailio/nat-traversal-role.cfg View File

@ -3,10 +3,6 @@
loadmodule "nathelper.so"
#!endif
modparam("nathelper", "received_avp", "$avp(AVP_RECV_PARAM)")
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "natping_processes", 5)
modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)
####### NAT Traversal Logic ########
route[NAT_TEST_AND_CORRECT]


+ 4
- 0
kamailio/registrar-role.cfg View File

@ -23,6 +23,10 @@ modparam("usrloc", "nat_bflag", FLB_NATB)
#!ifdef NAT-TRAVERSAL-ROLE
#!trydef NATHELPER-LOADED
loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "natping_processes", 5)
modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)
#!endif
####### SIP Registrar implementation module ##########


+ 3
- 1
vm.args View File

@ -9,7 +9,9 @@
+K true
# Start a pool of asynchronous IO threads
+A 2
+A 25
-kernel inet_dist_listen_min 11500 inet_dist_listen_max 11999
# Comment this line out if you want the Erlang shell
+Bd

Loading…
Cancel
Save