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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 9 10:16:42 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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-09 10:16 CST
====================================================================== 
Summary:                    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-09 10:16 telecos82      New Issue                                    
2010-11-09 10:16 telecos82      Asterisk Version          => SVN             
2010-11-09 10:16 telecos82      Regression                => No              
2010-11-09 10:16 telecos82      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2010-11-09 10:16 telecos82      SVN Revision (number only!) => 294314          
======================================================================




More information about the asterisk-bugs mailing list