[asterisk-bugs] [Asterisk 0018283]: [patch] Manager eventfilter: black filters aren't applied properly

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 18 14:06:26 CST 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18283 
====================================================================== 
Reported By:                telecos82
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18283
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 294314 
Request Review:              
====================================================================== 
Date Submitted:             2010-11-09 10:16 CST
Last Modified:              2010-11-18 14:06 CST
====================================================================== 
Summary:                    [patch] Manager eventfilter: black filters aren't
applied properly
Description: 
When having defined more than one black filters on eventfilter parameters,
they do not apply properly: none of them matches. It only works if you have
only one black filter defined. For example, if we have:

eventfilter = !Event: Newexten.*Application: Playback
eventfilter = !Event: Newexten.*Application: Answer

both Newexten events will be received, despite we are trying to avoid
them.

The problem is that when comparing with blackfilters, it stops comparing
when the Event does not match with a filter (which means accept the Event),
but as we are comparing for black filters, we should stop only when we
match a filter and then discard the event.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-18 14:06 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list