When a call is forwarded stop any active indications. The new channel will provide an indication, if need be, itself.

(closes issue #14310)
Reported by: RadicAlish


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@170568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 17 years ago
parent 5efdade8eb
commit 8a1faf0a58

@ -564,6 +564,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct dial_l
ast_set_callerid(c, S_OR(in->macroexten, in->exten), get_cid_name(cidname, sizeof(cidname), in), NULL);
}
}
if (single) {
ast_indicate(in, -1);
}
}
/* Hangup the original channel now, in case we needed it */
ast_hangup(winner);

Loading…
Cancel
Save