From fcc8fef4936e1af1adf7fe6155d3b75a88fd293d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 13 Dec 2006 21:28:01 +0000 Subject: [PATCH] reset autoadj on reinvite git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3638 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index d2c7bfd216..ba35444093 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -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; }