]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
wide bans stuff
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Jan 2006 22:07:02 +0000 (22:07 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 12 Jan 2006 22:07:02 +0000 (22:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@334 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_playback/mod_playback.c

index 58b1c3a9814d51eeb14f59f98be38768d0122806..f1a51985ee0025df32347608a668439c5cfa18da 100644 (file)
@@ -164,6 +164,8 @@ void playback_function(switch_core_session *session, char *data)
        switch_console_printf(SWITCH_CHANNEL_CONSOLE, "done playing file\n");
        switch_core_file_close(&fh);
 
+       switch_core_session_kill_channel(session, SWITCH_SIG_KILL);
+
        /* End the audio absorbing thread */
        switch_core_thread_session_end(&thread_session);