提交 99b3162f authored 作者: Mike Jerris's avatar Mike Jerris 提交者: Andrey Volk

FS-11680: [mod_sofia] dont treat registers from websockets received over a proxy…

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
上级 e6dd2887
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论