summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2016-10-15 20:05:05 -0500
committerGeorge Joseph <gjoseph@digium.com>2016-10-17 08:14:40 -0500
commitebcbc9ee340781d51c2e2f8363f74eb1f134680a (patch)
tree8770520a6d68100c800b4267c6978d3d3e404d68 /rest-api
parent1cfc5119f737223bd870f33db3b41f02f8ecff55 (diff)
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
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/events.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index ca2616101..4ef1d21a4 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -110,6 +110,11 @@
"type": "string",
"required": true,
"description": "Indicates the type of this message."
+ },
+ "asterisk_id": {
+ "type": "string",
+ "required": false,
+ "description": "The unique ID for the Asterisk instance that raised this event."
}
},
"subTypes": [