From: Steve Murphy Date: Thu, 30 Aug 2007 21:11:48 +0000 (+0000) Subject: via issue 10599, where 'CDR already initialized' messages are being generated. Since... X-Git-Tag: 1.4.12~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07f7547e84a4e9e4b059b435c92ce705bf0bc24f;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@81392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/cdr.c b/main/cdr.c index 24809c6511..d7ed538697 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, ""); - 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);