]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix stun: from appearing in sdp round two
authorBrian West <brian@freeswitch.org>
Sat, 15 Aug 2009 14:32:33 +0000 (14:32 +0000)
committerBrian West <brian@freeswitch.org>
Sat, 15 Aug 2009 14:32:33 +0000 (14:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14532 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 964e7aa5a65bbb33217837796515385dc816f8f8..15be212afad2de5abf3c6b3c89d6be9b1f5ba1e6 100644 (file)
@@ -662,7 +662,7 @@ switch_status_t sofia_glue_tech_choose_port(private_object_t *tech_pvt, int forc
        }
        sdp_port = tech_pvt->local_sdp_audio_port;
 
-       if (!(use_ip = switch_channel_get_variable(tech_pvt->channel, "rtp_adv_audio_ip")) && !sofia_test_pflag(tech_pvt->profile, PFLAG_AUTO_NAT)) {
+       if (!(use_ip = switch_channel_get_variable(tech_pvt->channel, "rtp_adv_audio_ip"))) {
                if (tech_pvt->profile->extrtpip) {
                        use_ip = tech_pvt->profile->extrtpip;
                }