|
|
@ -972,7 +972,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
/* here, o->chan == c == winner */
|
|
|
|
/* here, o->chan == c == winner */
|
|
|
|
if (!ast_strlen_zero(c->call_forward)) {
|
|
|
|
if (!ast_strlen_zero(c->call_forward)) {
|
|
|
|
(*sentringing) = 0;
|
|
|
|
pa->sentringing = 0;
|
|
|
|
do_forward(o, &num, peerflags, single, to);
|
|
|
|
do_forward(o, &num, peerflags, single, to);
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1098,7 +1098,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ast_verb(3, "%s redirecting info has changed, passing it to %s\n", c->name, in->name);
|
|
|
|
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);
|
|
|
|
ast_indicate_data(in, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
|
|
|
|
(*sentringing) = 0;
|
|
|
|
pa->sentringing = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case AST_CONTROL_PROCEEDING:
|
|
|
|
case AST_CONTROL_PROCEEDING:
|
|
|
|