diff options
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index dfd6f8306..ecc437ba6 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -836,23 +836,6 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, if (!*to || ast_check_hangup(in)) ast_cdr_noanswer(in->cdr); } - if (peer && !ast_cdr_log_unanswered()) { - /* suppress the CDR's that didn't win */ - struct chanlist *o; - for (o = outgoing; o; o = o->next) { - struct ast_channel *c = o->chan; - if (c && c != peer && c->cdr) - ast_set_flag(c->cdr, AST_CDR_FLAG_POST_DISABLED); - } - } else if (!peer && !ast_cdr_log_unanswered()) { - /* suppress the CDR's that didn't win */ - struct chanlist *o; - for (o = outgoing; o; o = o->next) { - struct ast_channel *c = o->chan; - if (c && c->cdr) - ast_set_flag(c->cdr, AST_CDR_FLAG_POST_DISABLED); - } - } #ifdef HAVE_EPOLL for (epollo = outgoing; epollo; epollo = epollo->next) { |