From d44cc5172e9099630f21df4f5684f60a113e12c7 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 12 Dec 2005 21:30:03 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@116 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/mod_iaxchan/mod_iaxchan.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/mod_iaxchan/mod_iaxchan.c b/src/mod/mod_iaxchan/mod_iaxchan.c index 9f531c3eb7..2916727816 100644 --- a/src/mod/mod_iaxchan/mod_iaxchan.c +++ b/src/mod/mod_iaxchan/mod_iaxchan.c @@ -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));