Ver Fonte

- fix in-dialog SUBSCRIBE routing

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3498 689a6050-402a-0410-94f2-e92a70836424
Klaus Darilion há 17 anos atrás
pai
commit
62768e41f4
1 ficheiros alterados com 7 adições e 1 exclusões
  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;
 	}