If a redirecting control frame is processed or a call forward occurs,
we need to reset the sentringing flag so that we can send another ringing
indication to the phone that may contain a connected line update.
AST-164
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206455
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
continue;
/* here, o->chan == c == winner */
if (!ast_strlen_zero(c->call_forward)) {
+ (*sentringing) = 0;
do_forward(o, &num, peerflags, single, to);
continue;
}
} else {
ast_verb(3, "%s redirecting info has changed, passing it to %s\n", c->name, in->name);
ast_indicate_data(in, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
+ (*sentringing) = 0;
}
break;
case AST_CONTROL_PROCEEDING: