git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4371 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-23 18:04:52 +00:00
parent 10b1187110
commit 1ec6bad02c

View File

@ -1169,7 +1169,9 @@ static switch_status_t channel_kill_channel(switch_core_session_t *session, int
}
break;
case SWITCH_SIG_BREAK:
switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_BREAK);
if (switch_rtp_ready(tech_pvt->rtp_session)) {
switch_rtp_set_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_BREAK);
}
break;
}