<p>Kevin Harwell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13838">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">message & stasis/messaging: make text message variables work in ARI<br><br>When a text message was received any associated variable was not written to<br>the ARI TextMessageReceived event. This occurred because Asterisk only wrote<br>out "send" variables. However, even those "send" variables would fail ARI<br>validation due to a TextMessageVariable formatting bug.<br><br>Since it seems the TextMessageReceived event has never been able to include<br>actual variables it was decided to remove the TextMessageVariable object type<br>from ARI, and simply return a JSON object of key/value pairs for variables.<br>This aligns more with how the ARI sendMessage handles variables, and other<br>places in ARI.<br><br>That being the case, and since this is technically an API breaking change (no<br>one should really be affected since things never really worked) the ARI version<br>was updated to reflect that.<br><br>ASTERISK-28755 #close<br><br>Change-Id: Ia6051c01a53b30cf7edef84c27df4ed4479b8b6f<br>---<br>M include/asterisk/message.h<br>M main/message.c<br>M res/ari/ari_model_validators.c<br>M res/ari/ari_model_validators.h<br>M res/stasis/messaging.c<br>M rest-api/api-docs/endpoints.json<br>M rest-api/resources.json<br>7 files changed, 40 insertions(+), 109 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/13838/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13838">change 13838</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/13838"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: Ia6051c01a53b30cf7edef84c27df4ed4479b8b6f </div>
<div style="display:none"> Gerrit-Change-Number: 13838 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>