aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-10 14:38:01 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-10 14:38:01 +0000
commit257c04cbc2ee4ef737b19fd0db6efa22538140f7 (patch)
tree3b5473baa43e52a95877729607812c51a02c7864 /apps/app_dial.c
parent2f69c6b558ffb7cb7cfa60ade9aaddd54a6ac7bd (diff)
Merged revisions 107017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r107017 | file | 2008-03-10 11:36:16 -0300 (Mon, 10 Mar 2008) | 15 lines Merged revisions 107016 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107016 | file | 2008-03-10 11:33:02 -0300 (Mon, 10 Mar 2008) | 7 lines Move where unanswered CDRs are dropped to the CDR core, not everything uses app_dial. (closes issue #11516) Reported by: ys Patches: branch_1.4_cdr.diff uploaded by ys (license 281) Tested by: anest, jcapp, dartvader ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@107018 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 03799d2b5..95757e38b 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -835,23 +835,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) {