Fixes ringback tone on feature semi-attended transfer

ABE-2168


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@293922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
David Vossel 15 years ago
parent 1791cb12df
commit 279f66c25d

@ -1009,6 +1009,9 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st
case AST_CONTROL_RINGING:
{
int connected = 0;
ast_indicate(transferee, AST_CONTROL_UNHOLD);
ast_indicate(transferee, AST_CONTROL_RINGING);
while (!connected && (ast_waitfor(newchan, -1) >= 0)) {
if ((f = ast_read(newchan)) == NULL) {
break;

Loading…
Cancel
Save