summaryrefslogtreecommitdiff
path: root/configs/manager.conf.sample
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2010-06-22 16:29:18 +0000
committerJeff Peeler <jpeeler@digium.com>2010-06-22 16:29:18 +0000
commit42c24b585a20f5e6cb979a963d4381921b0e3641 (patch)
tree1218b0ffd88470f35b8f2358c696d113f37f91b2 /configs/manager.conf.sample
parent294c78a27ef9ac8b6ecd8cd12319dc100fc34bf2 (diff)
Add regular expression filtering for manager events.
This patch as documented in the sample config allows one to optionally apply white, black, or both types of filtering to manager events. The new 'eventfilter' option is set per user. (closes issue #14861) Reported by: fnordian Patches: eventfilter3.patch uploaded by fnordian (license 110), modified by me Review: https://reviewboard.asterisk.org/r/673/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/manager.conf.sample')
-rw-r--r--configs/manager.conf.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/manager.conf.sample b/configs/manager.conf.sample
index c6536bc82..bfa13430c 100644
--- a/configs/manager.conf.sample
+++ b/configs/manager.conf.sample
@@ -74,6 +74,22 @@ bindaddr = 0.0.0.0
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
;
+;eventfilter=Event: Newchannel
+;eventfilter=!Channel: DAHDI*
+; The eventfilter option is used to whitelist or blacklist events per user to be
+; reported with regular expressions and are allowed if both the regex matches
+; and the user has read access set below. Filters are assumed to be for whitelisting
+; unless preceeded by an exclamation point, which marks it as being black.
+; Evaluation of the filters is as follows:
+; - If no filters are configured all events are reported as normal.
+; - If there are white filters only: implied black all filter processed first,
+; then white filters.
+; - If there are black filters only: implied white all filter processed first,
+; then black filters.
+; - If there are both white and black filters: implied black all filter processed
+; first, then white filters, and lastly black filters.
+
+;
; If the device connected via this user accepts input slowly,
; the timeout for writes to it can be increased to keep it
; from being disconnected (value is in milliseconds)