Explorar o código

- fix in-dialog SUBSCRIBE routing

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3498 689a6050-402a-0410-94f2-e92a70836424
Klaus Darilion %!s(int64=17) %!d(string=hai) anos
pai
achega
62768e41f4
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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;
 	}