浏览代码

adding debconf options for disabling replication, which were already there but someone deleted them

Pavel Kasparek 17 年之前
父节点
当前提交
af15fe7636
共有 1 个文件被更改,包括 12 次插入1 次删除
  1. 12 1
      etc/ser-oob.cfg

+ 12 - 1
etc/ser-oob.cfg

@@ -161,7 +161,10 @@ reply_to_via=no
 #DEBCONF-LISTEN-START
 listen=127.0.0.1
 #DEBCONF-LISTEN-END
-listen=224.0.1.75       # sip.mcast.net for REGISTER replication
+# sip.mcast.net for REGISTER replication 	 
+#DEBCONF-LISTEN_REPL-START 	 
+listen=224.0.1.75 	 
+#DEBCONF-LISTEN_REPL-END
 # administrative interface -- needed for example for multicast source
 # or XML-RPC
 #DEBCONF-LISTEN_ADMIN-START
@@ -985,6 +988,10 @@ route[REGISTRAR]
 		sl_reply("400", "Invalid REGISTER Request");
 		drop;
 	}
+# do not delete the following 3 lines, they are used by debconf
+#DEBCONF-REPLICATION1-START
+#
+#DEBCONF-REPLICATION1-END
 	if (isflagset(FLAG_REPL_ENABLED)) {
 		if (isflagset(FLAG_NAT)) {
 			append_hf("Repl-Marker: nated\r\n");
@@ -1007,6 +1014,10 @@ route[REGISTRAR]
 		attr2uri("$tu.uid","user");
 		forward_udp(224.0.1.75,5060);
 	}
+#DEBCONF-REPLICATION2-START
+#
+#DEBCONF-REPLICATION2-END
+
 	drop;
 }