aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-30 21:11:48 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-30 21:11:48 +0000
commit9b814ef63ca4cd0ab0da146260ce8eaeaa1067af (patch)
tree8546bdf1a583fec990d5d6bf9b4fbc665c833a78 /main
parentc80a5a7c3113f995a2b7836f1e518f2a935e29a6 (diff)
via issue 10599, where 'CDR already initialized' messages are being generated. Since all channels will have an init'd CDR attached at creation time, this message is now particularly useless. Removed.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81392 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/cdr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/cdr.c b/main/cdr.c
index 24809c651..d7ed53869 100644
--- a/main/cdr.c
+++ b/main/cdr.c
@@ -823,8 +823,6 @@ int ast_cdr_init(struct ast_cdr *cdr, struct ast_channel *c)
for ( ; cdr ; cdr = cdr->next) {
if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {
chan = S_OR(cdr->channel, "<unknown>");
- if (!ast_strlen_zero(cdr->channel))
- ast_log(LOG_WARNING, "CDR already initialized on '%s'\n", chan);
ast_copy_string(cdr->channel, c->name, sizeof(cdr->channel));
set_one_cid(cdr, c);