[asterisk-bugs] [JIRA] (ASTERISK-29494) cdr_adaptive_odbc: Prevent throwing warnings if CDR filtering is used

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Aug 4 09:29:33 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255776#comment-255776 ] 

Friendly Automation commented on ASTERISK-29494:
------------------------------------------------

Change 16262 merged by Friendly Automation:
cdr_adaptive_odbc: Prevent filter warnings

[https://gerrit.asterisk.org/c/asterisk/+/16262|https://gerrit.asterisk.org/c/asterisk/+/16262]

> cdr_adaptive_odbc: Prevent throwing warnings if CDR filtering is used
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-29494
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29494
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/cdr_adaptive_odbc
>    Affects Versions: 18.5.0
>            Reporter: N A
>            Assignee: N A
>
> The way the code is currently written, if there is more than one CDR section defined (let's say n sections) and filters are used so that certain CDR records use fewer than n of the sections, there will always be warnings emitted, for every single CDR. In the case where each section's filters are set up so that every CDR record goes in only one of them, you will see n-1 warnings every time any CDR record is finalized. This is generally explicitly desired, so there should not be warnings emitted for the correct behavior. This turns the warning into a debug message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list