tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9948 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
75a21db6bb
commit
9ba25810cb
|
@ -418,13 +418,13 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
|
|||
|
||||
end:
|
||||
|
||||
switch_core_session_kill_channel(session_b, SWITCH_SIG_BREAK);
|
||||
switch_core_session_reset(session_a, SWITCH_TRUE);
|
||||
switch_channel_set_variable(chan_a, SWITCH_BRIDGE_VARIABLE, NULL);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "BRIDGE THREAD DONE [%s]\n", switch_channel_get_name(chan_a));
|
||||
if (!inner_bridge) {
|
||||
switch_channel_clear_flag(chan_a, CF_BRIDGED);
|
||||
}
|
||||
switch_core_session_kill_channel(session_b, SWITCH_SIG_BREAK);
|
||||
switch_core_session_rwunlock(session_b);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue