mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Merged revisions 166092,166095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r166092 | mmichelson | 2008-12-19 16:26:16 -0600 (Fri, 19 Dec 2008) | 28 lines Adding a new dialplan function AUDIOHOOK_INHERIT This function is being added as a method to allow for an audiohook to move to a new channel during a channel masquerade. The most obvious use for such a facility is for MixMonitor when a transfer is performed. Prior to the addition of this functionality, if a channel running MixMonitor was transferred by another party, then the recording would stop once the transfer had completed. By using AUDIOHOOK_INHERIT, you can make MixMonitor continue recording the call even after the transfer has completed. It has also been determined that since this is seen by most as a bug fix and is not an invasive change, this functionality will also be backported to 1.4 and merged into the 1.6.0 branches, even though they are feature-frozen. (closes issue #13538) Reported by: mbit Patches: 13538.patch uploaded by putnopvut (license 60) Tested by: putnopvut Review: http://reviewboard.digium.com/r/102/ ........ r166095 | mmichelson | 2008-12-19 16:40:57 -0600 (Fri, 19 Dec 2008) | 5 lines Remove the verbatim tag from the author line I could have sworn I already did that before, though... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@166098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4069,11 +4069,11 @@ int ast_do_masquerade(struct ast_channel *original)
|
||||
/* Move data stores over */
|
||||
if (AST_LIST_FIRST(&clonechan->datastores)) {
|
||||
struct ast_datastore *ds;
|
||||
AST_LIST_APPEND_LIST(&original->datastores, &clonechan->datastores, entry);
|
||||
AST_LIST_TRAVERSE(&original->datastores, ds, entry) {
|
||||
AST_LIST_TRAVERSE(&clonechan->datastores, ds, entry) {
|
||||
if (ds->info->chan_fixup)
|
||||
ds->info->chan_fixup(ds->data, clonechan, original);
|
||||
}
|
||||
AST_LIST_APPEND_LIST(&original->datastores, &clonechan->datastores, entry);
|
||||
}
|
||||
|
||||
clone_variables(original, clonechan);
|
||||
|
||||
Reference in New Issue
Block a user