reset autoadj on reinvite

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3638 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-12-13 21:28:01 +00:00
parent 1551fc62fe
commit fcc8fef493
1 changed files with 2 additions and 0 deletions

View 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;
}