From 6dfc67d07889910fe1092716605a4fd10d25d71d Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Thu, 18 Sep 2003 21:06:29 +0000 Subject: [PATCH] Don't post 2 CDR's when the outgoing spool call fails git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1527 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channel.c b/channel.c index 6d704d7424..6b9038873b 100755 --- a/channel.c +++ b/channel.c @@ -1558,7 +1558,6 @@ struct ast_channel *ast_request_and_dial(char *type, int format, void *data, int /* If the cause wasn't handled properly */ if (ast_cdr_disposition(chan->cdr,chan->hangupcause)) ast_cdr_failed(chan->cdr); - ast_cdr_reset(chan->cdr,1); } else ast_log(LOG_WARNING, "Unable to create Call Detail Record\n"); ast_hangup(chan);