diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 67e5eb0416..b836541ad0 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -2735,6 +2735,9 @@ SWITCH_STANDARD_API(transfer_function) switch_core_session_t *tmp = tsession; tsession = other_session; 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); } } else if (!strcasecmp(arg, "both")) {