mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
Improve recording transfer
Use the same method everywhere Move the bug without stopping and starting the recording over It was broken in some circumstances and also some settings were lost FS-8900 --resolve
This commit is contained in:
@@ -866,12 +866,12 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
|
||||
|
||||
if (br_a) {
|
||||
ch_a = switch_core_session_get_channel(br_a);
|
||||
switch_core_media_bug_transfer_recordings(session, br_a);
|
||||
switch_ivr_transfer_recordings(session, br_a);
|
||||
}
|
||||
|
||||
if (br_b) {
|
||||
ch_b = switch_core_session_get_channel(br_b);
|
||||
switch_core_media_bug_transfer_recordings(tech_pvt->other_session, br_b);
|
||||
switch_ivr_transfer_recordings(tech_pvt->other_session, br_b);
|
||||
}
|
||||
|
||||
if (ch_a && ch_b && switch_channel_test_flag(ch_a, CF_BRIDGED) && switch_channel_test_flag(ch_b, CF_BRIDGED)) {
|
||||
|
||||
Reference in New Issue
Block a user