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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 19 11:52:20 CST 2010


The following issue has been UPDATED. 
====================================================================== 
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-19 11:52 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-19 11:52 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list