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

This commit is contained in:
Mike Jerris 2019-03-01 18:16:54 +00:00 committed by Andrey Volk
parent e6dd288762
commit 99b3162ffc
1 changed files with 0 additions and 5 deletions

View File

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