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
Showing
- CHANGES 7 additions, 0 deletionsCHANGES
- res/ari/ari_model_validators.c 342 additions, 0 deletionsres/ari/ari_model_validators.c
- res/ari/ari_model_validators.h 38 additions, 0 deletionsres/ari/ari_model_validators.h
- res/stasis/app.c 7 additions, 0 deletionsres/stasis/app.c
- rest-api/api-docs/events.json 5 additions, 0 deletionsrest-api/api-docs/events.json
- tests/test_res_stasis.c 4 additions, 2 deletionstests/test_res_stasis.c
Loading
Please register or sign in to comment