mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 07:01:07 +00:00
Make sure the visible indication is on the right channel so when the masquerade happens the proper indication is enacted.
(closes issue #11707) Reported by: iam git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@107646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -869,6 +869,7 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
/* Make formats okay */
|
/* Make formats okay */
|
||||||
|
xferchan->visible_indication = transferer->visible_indication;
|
||||||
xferchan->readformat = transferee->readformat;
|
xferchan->readformat = transferee->readformat;
|
||||||
xferchan->writeformat = transferee->writeformat;
|
xferchan->writeformat = transferee->writeformat;
|
||||||
ast_channel_masquerade(xferchan, transferee);
|
ast_channel_masquerade(xferchan, transferee);
|
||||||
|
|||||||
Reference in New Issue
Block a user