dect
/
asterisk
Archived
13
0
Fork 0

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: http://svn.digium.com/svn/asterisk/trunk@107659 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2008-03-11 19:23:28 +00:00
parent 82da51173a
commit 0d41e1f3e5
1 changed files with 2 additions and 0 deletions

View File

@ -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);