]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI event type filtering
authorKevin Harwell <kharwell@digium.com>
Fri, 8 Feb 2019 19:07:13 +0000 (13:07 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 20 Feb 2019 15:56:45 +0000 (09:56 -0600)
commitda93d17af87dcdfdf74daa8028a17755fa0f658a
tree70bdca3aa9ec1d221781e02059c01e11460ff532
parent86bb86ce46ce537f6c938cd270ea0fd10b23e3ec
ARI event type filtering

Event type filtering is now enabled, and configurable per application. An app is
now able to specify which events are sent to the application by configuring an
allowed and/or disallowed list(s). This can be done by issuing the following:

PUT /applications/{applicationName}/eventFilter

And then enumerating the allowed/disallowed event types as a body parameter.

ASTERISK-28106

Change-Id: I9671ba1fcdb3b6c830b553d4c5365aed5d588d5b
CHANGES
include/asterisk/stasis_app.h
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/ari/resource_applications.c
res/ari/resource_applications.h
res/ari/resource_events.c
res/res_ari_applications.c
res/res_stasis.c
res/stasis/app.c
rest-api/api-docs/applications.json