From 99b3162ffc611ab5255841579d3383aec276ccfe Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Fri, 1 Mar 2019 18:16:54 +0000 Subject: [PATCH] FS-11680: [mod_sofia] dont treat registers from websockets received over a proxy over non websockets as nat. We should be sending to the route set and not locking on to send all requests to the websocket directly in this case --- src/mod/endpoints/mod_sofia/sofia_reg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index d8c6f510e9..9b8afe745c 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1394,11 +1394,6 @@ uint8_t sofia_reg_handle_register_token(nua_t *nua, sofia_profile_t *profile, nu } } - if (!is_wss && !is_ws && uparams && switch_stristr("transport=ws", uparams)) { - is_nat = "ws"; - is_ws += 1; - } - if (sip->sip_contact->m_url->url_type == url_sips) { proto = "sips"; is_tls += 2;