From: Davide Colombo Date: Fri, 26 Jun 2015 14:20:22 +0000 (+0200) Subject: FS-7732 follow recording on other session X-Git-Tag: v1.6.2~371^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb7e3d1cd56b84d5d7e5e6de25112f441e110e7;p=thirdparty%2Ffreeswitch.git FS-7732 follow recording on other session follow recording on other session --- 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")) {