mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add stun to dingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1049 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -780,6 +780,9 @@ static void *audio_bridge_thread(switch_thread *thread, void *obj)
|
||||
switch_channel_hangup(chan_b);
|
||||
}
|
||||
switch_channel_clear_flag(chan_a, CF_ORIGINATOR);
|
||||
} else if (!switch_channel_test_flag(chan_a, CF_ORIGINATOR) && !switch_channel_test_flag(chan_a, CF_TRANSFER)) {
|
||||
switch_core_session_kill_channel(session_a, SWITCH_SIG_KILL);
|
||||
switch_channel_hangup(chan_a);
|
||||
}
|
||||
|
||||
while (his_thread->running > 0) {
|
||||
|
Reference in New Issue
Block a user