From: Anthony Minessale Date: Mon, 5 May 2014 23:10:19 +0000 (+0500) Subject: sofia is treating all notify sending as if they were natted rather than when nat... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9274b30b77c2aff61b721abd1e6a80a235888d34;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 09cf9e2d8c..39d86ca83e 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -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) {