[asterisk-dev] [Code Review] 3417: Add AMI events for all device state and presence state changes

Brad Watkins bwatkins at thinkingphones.com
Mon Apr 7 11:55:18 CDT 2014


On Mon, 2014-04-07 at 15:40 +0000, Mark Michelson wrote:
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3417/ 
> 
>         On April 5th, 2014, 7:02 a.m. UTC, Olle E Johansson wrote:
>         
>                 I would like to see a configuration option for this, as it will generate a massive amount of events in busy servers.
> That's fair. I can think of two ways to do this:
> 
> 1) The DeviceStateChange and PublishStateChange belong to a new event category. This way, you can add the event category to your read= line in manager.conf if you want to see the event, or you can leave the category off if you don't.
> 2) There can be individual configuration options in manager.conf to suppress certain events. This would act as a generic method to disable the publication of certain events and could be applied to any event.
> 
> Personally, I like number 2 more, but I'm willing to hear suggestions for other ways of doing this.
> 
> 
> 
Regarding option 2, would that be per-user or global?  Either way that
too would be my preference, but curious how you saw that being
implemented.

- Brad



More information about the asterisk-dev mailing list