There was a patch way back in Asterisk 1.2.13 (ish) that changed a
console log message from a warning to a notice when NoCDR and
ResetCDR are used.  As these are valid dialplan commands they
shouldn't generate warning messages.  A quick look at the latest
trunk code (3847) still has the original warnings.

As these should be notices rather than warnings, can someone please
make the changes at some point.  The code in question is in corelib/
cdr.c, lines 390 and 392 (in opbx_cdr_free), and lines 767 and 769
(in post_cdr).  In these four lines, "LOG_WARNING" should be changed
to "LOG_NOTICE".

Do you mean this code in line 433+?

if (!opbx_test_flag(cdr, OPBX_CDR_FLAG_POSTED) && ! opbx_test_flag(cdr, OPBX_CDR_FLAG_POST_DISABLED)) opbx_log(LOG_WARNING, "CDR on channel '%s' not posted \n", chan);
        if (opbx_tvzero(cdr->end))
opbx_log(LOG_WARNING, "CDR on channel '%s' lacks end\n", chan);
        if (opbx_tvzero(cdr->start))
opbx_log(LOG_WARNING, "CDR on channel '%s' lacks start \n", chan);

and the similar code block at line ~800?

roy

---
Roy Sigurd Karlsbakk
[EMAIL PROTECTED]
Tlf: 98013356
---
"Why is it drug addicts and computer afficionados are both called users?" -- Clifford Stol


_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to