]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
sofia is treating all notify sending as if they were natted rather than when nat...
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 5 May 2014 23:10:19 +0000 (04:10 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 5 May 2014 23:10:19 +0000 (04:10 +0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index bf5c0197dd6566015054190a81b449404a47b135..1cd8556d4cdd1eabfe4c1be50d569c9b37b468ca 100644 (file)
@@ -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) {