]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/ari: Add the Asterisk EID field to outgoing events 15/4115/2
authorMatt Jordan <mjordan@digium.com>
Sun, 16 Oct 2016 01:05:05 +0000 (20:05 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 17 Oct 2016 13:13:46 +0000 (08:13 -0500)
commit42cfdcd1b700af157746b897dc04362e853065c0
tree4483bc91f3c3ce79b8f109bc4863b2e99a96e8e4
parentd1d446b23795baa73969f725a1231dff6e0b0538
res/ari: Add the Asterisk EID field to outgoing events

This patch adds the Asterisk EID field to all outgoing ARI events.
Because this field should be added to all events as they are
transmitted, it is appended to the JSON message just prior to it being
handed off to the application message handler. This makes it somewhat
resilient to both new events being added to ARI, as well as other
potential event transport mechanisms.

ASTERISK-26470 #close

Change-Id: Ieff0ecc24464e83f3f44e9c3e7bd9a5d70b87a1d
CHANGES
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/stasis/app.c
rest-api/api-docs/events.json
tests/test_res_stasis.c