]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/ari: Add the Asterisk EID field to outgoing events 26/4126/1
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:14:40 +0000 (08:14 -0500)
commitebcbc9ee340781d51c2e2f8363f74eb1f134680a
tree8770520a6d68100c800b4267c6978d3d3e404d68
parent1cfc5119f737223bd870f33db3b41f02f8ecff55
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