瀏覽代碼

- fix in-dialog SUBSCRIBE routing

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3498 689a6050-402a-0410-94f2-e92a70836424
Klaus Darilion 17 年之前
父節點
當前提交
62768e41f4
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      etc/openser.cfg

+ 7 - 1
etc/openser.cfg

@@ -211,7 +211,13 @@ route{
 			}
 			route(1);
 		} else {
-			sl_send_reply("404","Not here");
+			/* uncomment the following lines if you want to enable presence */
+			##if (is_method("SUBSCRIBE") && $rd == "your.server.ip.address") {
+			##      # in-dialog subscribe requests
+			##      route(2);
+			##} else {
+				sl_send_reply("404","Not here");
+			##}
 		}
 		exit;
 	}