diff options
-rw-r--r-- | channels/chan_dahdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index cd3b68673..d54c951df 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -4532,6 +4532,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast) p->subs[index].f.frametype = AST_FRAME_CONTROL; p->subs[index].f.subclass = AST_CONTROL_ANSWER; /* Make sure it stops ringing */ + dahdi_set_hook(p->subs[index].dfd, DAHDI_OFFHOOK); p->subs[SUB_REAL].needringing = 0; ast_log(LOG_DEBUG, "channel %d answered\n", p->channel); if (p->cidspill) { |