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:
parent
e6dd288762
commit
99b3162ffc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue