Merge pull request #303 in FS/freeswitch from ~DCOLOMBO/freeswitch:master to master

* commit 'cfb7e3d1cd56b84d5d7e5e6de25112f441e110e7':
  FS-7732 follow recording on other session
This commit is contained in:
Mike Jerris 2015-06-29 12:55:10 -05:00
commit a3972c5c0f
1 changed files with 3 additions and 0 deletions

View File

@ -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")) {