diff options
author | Joshua Colp <jcolp@digium.com> | 2008-03-11 19:23:28 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-03-11 19:23:28 +0000 |
commit | b84cdbfe38d71f795c6e556494de82f603d0dc66 (patch) | |
tree | 152168d8f0cad154bf59babb1c60d9c8ff480ace | |
parent | b5003a194308b7b38f4af3ded7786211c20f5b86 (diff) |
Merged revisions 107646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r107646 | file | 2008-03-11 16:20:01 -0300 (Tue, 11 Mar 2008) | 4 lines
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/trunk@107659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/features.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c index b4e281731..1b6fda4b2 100644 --- a/main/features.c +++ b/main/features.c @@ -1113,6 +1113,7 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st return -1; } /* Make formats okay */ + xferchan->visible_indication = transferer->visible_indication; xferchan->readformat = transferee->readformat; xferchan->writeformat = transferee->writeformat; ast_channel_masquerade(xferchan, transferee); @@ -1209,6 +1210,7 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st return -1; } /* Make formats okay */ + xferchan->visible_indication = transferer->visible_indication; xferchan->readformat = transferee->readformat; xferchan->writeformat = transferee->writeformat; ast_channel_masquerade(xferchan, transferee); |