[asterisk-bugs] [Asterisk 0019260]: [patch] Manager eventfilter blacklisting does not filter blacklisted events

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 10 13:26:26 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19260 
====================================================================== 
Reported By:                dhubbard
Assigned To:                dhubbard
====================================================================== 
Project:                    Asterisk
Issue ID:                   19260
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.8.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-10 09:03 CDT
Last Modified:              2011-05-10 13:26 CDT
====================================================================== 
Summary:                    [patch] Manager eventfilter blacklisting does not
filter blacklisted events
Description: 
The following AMI account should not receive AMI Setvar and Newexten
events, but the events are sent to the 'dwayne' AMI connection anyway.

[dwayne]
eventfilter=!Event: VarSet*
eventfilter=!Event: Newexten*
secret = blah
read =
system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate

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

---------------------------------------------------------------------- 
 (0134721) dhubbard (manager) - 2011-05-10 13:26
 https://issues.asterisk.org/view.php?id=19260#c134721 
---------------------------------------------------------------------- 
I just realized that this issue was also fixed in revision 306432.  This
revision should be merged into the 1.8 branch.

------------------------------------------------------------------------
r306432 | jpeeler | 2011-02-04 16:37:11 -0600 (Fri, 04 Feb 2011) | 10
lines

Send manager event for blackfilter only if it DOES NOT match.

The logic got reversed, oops. Works properly now when multiple
blackfilters are
present.

(closes issue https://issues.asterisk.org/view.php?id=18283)
Reported by: telecos82
Patches: 
      ast_managereventfilter.patch uploaded by telecos82 (license 687)

------------------------------------------------------------------------ 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-10 13:26 dhubbard       Note Added: 0134721                          
======================================================================




More information about the asterisk-bugs mailing list