git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@116 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2005-12-12 21:30:03 +00:00
parent 6e1f64207b
commit d44cc5172e
1 changed files with 4 additions and 0 deletions

View File

@ -444,7 +444,11 @@ static switch_status channel_kill_channel(switch_core_session *session, int sig)
tech_pvt = switch_core_session_get_private(session);
assert(tech_pvt != NULL);
switch_clear_flag(tech_pvt, TFLAG_IO);
switch_clear_flag(tech_pvt, TFLAG_VOICE);
switch_channel_hangup(channel);
switch_thread_cond_signal(tech_pvt->cond);
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "%s CHANNEL KILL\n", switch_channel_get_name(channel));