Browse Source

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

Peter Dunkley 13 years ago
parent
commit
6af91d1fb3
1 changed files with 1 additions and 4 deletions
  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
 
 	# handle requests within SIP dialogs
@@ -296,7 +293,7 @@ route[AUTH] {
 }
 
 #!ifdef WITH_WEBSOCKETS
-onreply_route[WS_REPLY] {
+onreply_route {
 	if (nat_uac_test(64)) {
 		# Do NAT traversal stuff for replies to a WebSocket connection
 		# - even if it is not behind a NAT!