]> 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:29 +0000 (04:10 +0500)
src/mod/endpoints/mod_sofia/sofia_presence.c

index 09cf9e2d8c9295cf16d7f7fdc42b9c90e68e4a6a..39d86ca83ef0683efa65f0e4e654e4bc9afcc930 100644 (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) {