Explorar o código

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

Peter Dunkley %!s(int64=13) %!d(string=hai) anos
pai
achega
6af91d1fb3
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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!