<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16263">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cdr_adaptive_odbc: Prevent filter warnings<br><br>Previously, if CDR filters were used so that<br>not all CDR records used all sections defined<br>in cdr_adaptive_odbc.conf, then warnings will<br>always be emitted (if each CDR record is unique<br>to a particular section, n-1 warnings to be<br>specific).<br><br>This turns the offending warning log into<br>a verbose message like the other one, since<br>this behavior is intentional and not<br>indicative of anything wrong.<br><br>ASTERISK-29494<br><br>Change-Id: Ifd314fa9298722bc99494d5ca2658a5caa94a5f8<br>---<br>M cdr/cdr_adaptive_odbc.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/cdr/cdr_adaptive_odbc.c b/cdr/cdr_adaptive_odbc.c</span><br><span>index eed809a..4a10ec8 100644</span><br><span>--- a/cdr/cdr_adaptive_odbc.c</span><br><span>+++ b/cdr/cdr_adaptive_odbc.c</span><br><span>@@ -740,7 +740,7 @@</span><br><span>                   } else if (entry->filtervalue</span><br><span>                             && ((!entry->negatefiltervalue && entry->filtervalue[0] != '\0')</span><br><span>                                       || (entry->negatefiltervalue && entry->filtervalue[0] == '\0'))) {</span><br><span style="color: hsl(0, 100%, 40%);">-                                ast_log(AST_LOG_WARNING, "CDR column '%s' was not set and does not match filter of"</span><br><span style="color: hsl(120, 100%, 40%);">+                         ast_verb(4, "CDR column '%s' was not set and does not match filter of"</span><br><span>                                     " %s'%s'.  Cancelling this CDR.\n",</span><br><span>                                        entry->cdrname, entry->negatefiltervalue ? "!" : "",</span><br><span>                                       entry->filtervalue);</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16263">change 16263</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16263"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 19 </div>
<div style="display:none"> Gerrit-Change-Id: Ifd314fa9298722bc99494d5ca2658a5caa94a5f8 </div>
<div style="display:none"> Gerrit-Change-Number: 16263 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>