mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
Merged revisions 81392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81392 | murf | 2007-08-30 15:11:48 -0600 (Thu, 30 Aug 2007) | 1 line 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/trunk@81393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -821,8 +821,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user