diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 14:36:16 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 14:36:16 +0000 |
commit | a4ae0883c23082addad1f53623721ed60dce35ad (patch) | |
tree | 9acc63d035d6b98d272790db611985a077286de2 /apps | |
parent | cb7f3ce371fc02f074f75fef8694fde28306a6a3 (diff) |
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/trunk@107017 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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) { |