mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-28 12:13:30 +00:00
FS-7732: [mod_commands] follow recording on other session
follow recording on other session
This commit is contained in:
parent
776e8a501a
commit
b9eff3b09a
@ -2744,6 +2744,9 @@ SWITCH_STANDARD_API(transfer_function)
|
|||||||
switch_core_session_t *tmp = tsession;
|
switch_core_session_t *tmp = tsession;
|
||||||
tsession = other_session;
|
tsession = other_session;
|
||||||
other_session = NULL;
|
other_session = NULL;
|
||||||
|
if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer"))) {
|
||||||
|
switch_core_media_bug_transfer_recordings(tmp, tsession);
|
||||||
|
}
|
||||||
switch_core_session_rwunlock(tmp);
|
switch_core_session_rwunlock(tmp);
|
||||||
}
|
}
|
||||||
} else if (!strcasecmp(arg, "both")) {
|
} else if (!strcasecmp(arg, "both")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user