mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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
This commit is contained in:
committed by
George Joseph
parent
5df575e16a
commit
dd5129d84a
7
CHANGES
7
CHANGES
@@ -109,6 +109,13 @@ app_dial
|
||||
when another channel answers the call. The default of ANSWERED_ELSEWHERE
|
||||
is unchanged.
|
||||
|
||||
res_ari
|
||||
------------------
|
||||
* ARI events will all now include a new field in the root of the JSON message,
|
||||
'asterisk_id'. This will be the unique ID for the Asterisk system
|
||||
transmitting the event. The value can be overridden using the 'entityid'
|
||||
setting in asterisk.conf.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
--- Functionality changes from Asterisk 13 to Asterisk 14 --------------------
|
||||
------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user