mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
[core] flush all the rtp on transfers
This commit is contained in:
committed by
Andrey Volk
parent
f8004e1d66
commit
8a6a6fca47
@@ -334,7 +334,9 @@ static void switch_core_standard_on_execute(switch_core_session_t *session)
|
||||
switch_channel_clear_flag(session->channel, CF_RESET);
|
||||
|
||||
switch_core_session_video_reset(session);
|
||||
|
||||
switch_channel_audio_sync(session->channel);
|
||||
switch_channel_video_sync(session->channel);
|
||||
|
||||
if ((extension = switch_channel_get_caller_extension(session->channel)) == 0) {
|
||||
switch_channel_hangup(session->channel, SWITCH_CAUSE_NORMAL_CLEARING);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user