projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7af5d94
)
Don't post 2 CDR's when the outgoing spool call fails
author
Martin Pycko
<martinp@digium.com>
Thu, 18 Sep 2003 21:06:29 +0000
(21:06 +0000)
committer
Martin Pycko
<martinp@digium.com>
Thu, 18 Sep 2003 21:06:29 +0000
(21:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1527
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channel.c
patch
|
blob
|
history
diff --git
a/channel.c
b/channel.c
index
6d704d7
..
6b90388
100755
(executable)
--- 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);