diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 2465bfc1d..2d5bf0938 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -765,25 +765,6 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct dial_l } } - if (peer && !ast_cdr_log_unanswered()) { - /* suppress the CDR's that didn't win */ - struct dial_localuser *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 dial_localuser *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); - } - } - } return peer; } |