From 0a2ba8869a63d83d6cb9224dc174b4b46e99a5ee Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 6 May 2014 04:10:19 +0500 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index bf5c0197dd..1cd8556d4c 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2253,10 +2253,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) {