Summary: | ASTERISK-16666: [patch] Negative filter values | ||
Reporter: | Tilghman Lesher (tilghman) | Labels: | |
Date Opened: | 2010-09-11 01:14:55 | Date Closed: | 2010-12-31 03:29:12.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_adaptive_odbc |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20100911__for_blitzrage.diff.txt | |
Description: | [07:16:14] leifmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage) has joined channel #asterisk [07:16:14] Mode change "+o leifmadsen" on channel #asterisk by ChanServ [07:16:49] <leifmadsen> Corydon76-dig: so I have a suggestion for cdr_adaptive_odbc [07:18:53] Signoff: infobot (Ping timeout: 245 seconds) [07:18:56] <leifmadsen> Corydon76-dig: a negating filter would be useful. For example, if I have two connections [my_log] and [my_filtered_log], and in [my_filtered_log] I had: filter src => 0000FFFF0008 followed by static "DoNoCharge" => accountcode, I obviously am going to get a duplicate record (as the documentation states, and which is confirmed by testing). If on the [my_log] I could do something like: filter !src => 0000FFFF0008 then I [07:18:56] <leifmadsen> would not get duplicate records. [07:19:01] Signoff: JAMMAN2110 (Remote host closed the connection) [07:21:16] <russellb> could follow the same method used in manager.conf, where you can specify blacklist or whitelist (or a combination of both) regular expressions | ||
Comments: | By: Leif Madsen (lmadsen) 2010-09-13 11:03:03 I will try and test this today! By: Digium Subversion (svnbot) 2010-12-31 03:29:12.000-0600 Repository: asterisk Revision: 300045 U trunk/CHANGES U trunk/cdr/cdr_adaptive_odbc.c U trunk/configs/cdr_adaptive_odbc.conf.sample ------------------------------------------------------------------------ r300045 | tilghman | 2010-12-31 03:29:11 -0600 (Fri, 31 Dec 2010) | 8 lines Support negative filters. (closes issue ASTERISK-16666) Reported by: tilghman Patches: 20100911__for_blitzrage.diff.txt uploaded by tilghman (license 14) Tested by: lmadsen ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=300045 |