]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reset autoadj on reinvite
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Dec 2006 21:28:01 +0000 (21:28 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 13 Dec 2006 21:28:01 +0000 (21:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3638 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/mod_sofia.c

index d2c7bfd21657210ae6480dbf885dfc4a9e7fe7f6..ba35444093e588a053566386765a1bb8a5b3e513 100644 (file)
@@ -1437,6 +1437,8 @@ static switch_status_t activate_rtp(private_object_t *tech_pvt)
                } else {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "RTP CHANGING DEST TO: [%s:%d]\n", 
                                                          tech_pvt->remote_sdp_audio_ip, tech_pvt->remote_sdp_audio_port);
+            /* Reactivate the NAT buster flag. */
+            switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
                }
                return SWITCH_STATUS_SUCCESS;
        }