瀏覽代碼

added registrar module modparam to limit maximum number of contacts

Pavel Kasparek 17 年之前
父節點
當前提交
88a2f11f56
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      etc/ser-oob.cfg

+ 2 - 1
etc/ser-oob.cfg

@@ -296,11 +296,12 @@ modparam("registrar", "max_expires", 600)
 # for a shorter time than this
 modparam("registrar", "min_expires", 240)
 
-
 # identify natted contacts using a flag
 modparam("registrar", "load_nat_flag", "FLAG_NAT")
 modparam("registrar", "save_nat_flag", "FLAG_NAT")
 
+# maximum number of contacts
+modparam("registrar", "max_contacts", 10)
 
 # -- auth params --
 #modparam("auth_db", "calculate_ha1", yes)