break;
} else {
struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_PROCEEDING, };
- struct ast_frame g = { AST_FRAME_CONTROL, AST_CONTROL_PROGRESS, };
p = linkset->pvts[chanpos];
ast_mutex_lock(&p->lock);
zap_queue_frame(p, &f, linkset);
p->proceeding = 1;
- zap_queue_frame(p, &g, linkset);
- p->progress = 1;
-
+ /* Send alerting if subscriber is free */
+ if (e->acm.called_party_status_ind == 1) {
+ p->alerting = 1;
+ p->subs[SUB_REAL].needringing = 1;
+ }
ast_mutex_unlock(&p->lock);
}
break;