aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-18 21:06:29 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-18 21:06:29 +0000
commiteab86dd3b960b7d652be02d0c0274119827f0507 (patch)
tree7a627ced9e251610b6e80a795e54c5a8ce7d7c9a
parentbe443a4ea3305e08b986e53445800479e80b4c76 (diff)
Don't post 2 CDR's when the outgoing spool call fails
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1527 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 6d704d742..6b9038873 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);