|
@@ -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!
|