From: Anthony Minessale Date: Thu, 12 Jan 2006 22:07:02 +0000 (+0000) Subject: wide bans stuff X-Git-Tag: v1.0-beta1~3388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27d6790d3a20119a6f158b5b5eaae0ef2643a5d6;p=thirdparty%2Ffreeswitch.git wide bans stuff git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@334 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_playback/mod_playback.c b/src/mod/applications/mod_playback/mod_playback.c index 58b1c3a981..f1a51985ee 100644 --- a/src/mod/applications/mod_playback/mod_playback.c +++ b/src/mod/applications/mod_playback/mod_playback.c @@ -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);