modules/websocket: More tidy-up of example configuration file
authorPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Thu, 5 Jul 2012 14:23:19 +0000 (15:23 +0100)
committerPeter Dunkley <peter.dunkley@crocodile-rcs.com>
Thu, 5 Jul 2012 14:23:19 +0000 (15:23 +0100)
modules/websocket/example/kamailio.cfg

index 07c4318..28a016c 100644 (file)
@@ -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!