diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-18 21:06:29 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-18 21:06:29 +0000 |
commit | eab86dd3b960b7d652be02d0c0274119827f0507 (patch) | |
tree | 7a627ced9e251610b6e80a795e54c5a8ce7d7c9a /channel.c | |
parent | be443a4ea3305e08b986e53445800479e80b4c76 (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
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |