[Home]

Summary:ASTERISK-17923: [patch] New manager option enabledevents
Reporter:Gabriel Ortiz Lour (elbriga)Labels:
Date Opened:2011-05-25 12:43:18Date Closed:2011-12-14 14:30:40.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface/NewFeature
Versions:1.6.2.18 Frequency of
Occurrence
Related
Issues:
is the original version of this clone:ASTERISK-19034 CLONE -[patch] New manager option enabledevents
Environment:Attachments:( 0) manager-enabledevents-1.6.2-r320797.patch
( 1) manager-enabledevents-trunk-r321289.patch
Description:The following patch will add a new config option named 'enabledevents'

If set only the listed events will be sent trough the AMI

****** ADDITIONAL INFORMATION ******

The patch does 2 calloc calls at init and I don't know where to put the "free" calls

Patch made with branches/1.6.2 checkout r320797
Comments:By: Leif Madsen (lmadsen) 2011-05-27 11:01:31

Please provide new features against Asterisk trunk.

By: Gabriel Ortiz Lour (elbriga) 2011-05-27 14:44:50

New patch against trunk r321289

By: Matt Jordan (mjordan) 2011-12-14 08:41:12.106-0600

This functionality looks to be identical to the eventfilter option.  Can you confirm that the eventfilter option already provides what this patch intended?

Thanks

Matt

By: Gabriel Ortiz Lour (elbriga) 2011-12-14 13:08:38.407-0600

Yes.
By reading the description of 'eventfilter' on ami.conf sample I see that 'eventfilter' does what my patch do and much more. (The patch would do only the 'white list' function, and without regexp)