Jelajahi Sumber

modules/websocket: More tidy-up of example configuration file

Peter Dunkley 13 tahun lalu
induk
melakukan
6af91d1fb3
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      modules/websocket/example/kamailio.cfg

+ 1 - 4
modules/websocket/example/kamailio.cfg

@@ -149,9 +149,6 @@ request_route {
 			}
 			}
 		}
 		}
 	}
 	}
-
-	if (!is_method("REGISTER"))
-		t_on_reply("WS_REPLY");
 #!endif
 #!endif
 
 
 	# handle requests within SIP dialogs
 	# handle requests within SIP dialogs
@@ -296,7 +293,7 @@ route[AUTH] {
 }
 }
 
 
 #!ifdef WITH_WEBSOCKETS
 #!ifdef WITH_WEBSOCKETS
-onreply_route[WS_REPLY] {
+onreply_route {
 	if (nat_uac_test(64)) {
 	if (nat_uac_test(64)) {
 		# Do NAT traversal stuff for replies to a WebSocket connection
 		# Do NAT traversal stuff for replies to a WebSocket connection
 		# - even if it is not behind a NAT!
 		# - even if it is not behind a NAT!