]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 12 Dec 2005 21:30:03 +0000 (21:30 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 12 Dec 2005 21:30:03 +0000 (21:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@116 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/mod_iaxchan/mod_iaxchan.c

index 9f531c3eb7bde7a6624def3ff93c66d6e2742b3a..29167278168d74b44c13ef70537018be8726a5f8 100644 (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));