fix overzealous rtp auto adj

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-07-31 13:30:41 +00:00
parent 7e9f64ee71
commit ef561b95d3
1 changed files with 1 additions and 0 deletions

View File

@ -1254,6 +1254,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
"Auto Changing port from %s:%u to %s:%u\n", old_host, old, tx_host,
switch_sockaddr_get_port(rtp_session->from_addr));
switch_rtp_set_remote_address(rtp_session, tx_host, switch_sockaddr_get_port(rtp_session->from_addr), &err);
switch_clear_flag_locked(rtp_session, SWITCH_RTP_FLAG_AUTOADJ);
}
}
}