sofia is treating all notify sending as if they were natted rather than when nat is detected. This causes issues on some polycoms that use strange ports in their contact for getting notifies that do not match the port the calls come from

This commit is contained in:
Anthony Minessale 2014-05-06 04:10:19 +05:00
parent 9bf0e8c517
commit 9274b30b77

View File

@ -2243,10 +2243,6 @@ static void _send_presence_notify(sofia_profile_t *profile,
if (dst->route_uri) {
route_uri = sofia_glue_strip_uri(dst->route_uri);
} else {
if (remote_ip && remote_port) {
route_uri = switch_mprintf("sip:user@%s:%s;transport=%s", remote_ip, remote_port, tp);
}
}
if (expires) {