[asterisk-bugs] [Asterisk 0017979]: [patch] Negative filter values

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 31 09:29:12 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17979 
====================================================================== 
Reported By:                tilghman
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   17979
Category:                   CDR/cdr_adaptive_odbc
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.0-beta5 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-11 01:14 CDT
Last Modified:              2010-12-31 03:29 CST
====================================================================== 
Summary:                    [patch] Negative filter values
Description: 
[07:16:14]  leifmadsen
(~Leif at 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

====================================================================== 

---------------------------------------------------------------------- 
 (0130073) svnbot (reporter) - 2010-12-31 03:29
 https://issues.asterisk.org/view.php?id=17979#c130073 
---------------------------------------------------------------------- 
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 https://issues.asterisk.org/view.php?id=17979)
 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 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-31 03:29 svnbot         Checkin                                      
2010-12-31 03:29 svnbot         Note Added: 0130073                          
======================================================================




More information about the asterisk-bugs mailing list