mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
fix switch_core_thread_session_end to not make the channel hangup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@439 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3c70912026
commit
217b5e2735
2 files changed
+2
-6
No files matched your search
@@ -164,13 +164,13 @@ 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);
|
||||
//switch_core_session_kill_channel(session, SWITCH_SIG_KILL);
|
||||
|
||||
switch_core_timer_destroy(&timer);
|
||||
|
||||
switch_core_codec_destroy(&codec);
|
||||
|
||||
switch_channel_hangup(channel);
|
||||
//switch_channel_hangup(channel);
|
||||
|
||||
/* End the audio absorbing thread */
|
||||
switch_core_thread_session_end(&thread_session);
|
||||
|
||||
Reference in new issue
Block a user