<p>Benjamin Keith Ford <strong>uploaded patch set #10</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/10937">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_stasis: Add ability to switch applications.<br><br>Added the ability to move between Stasis applications within Stasis.<br>This can be done by calling 'move' in an application, providing (at<br>minimum) the channel's id and the application to switch to. If the<br>application is not registered or active, nothing will happen and the<br>channel will remain in the current application, and an event will be<br>triggered to let the application know that the move failed. The event<br>name is "ApplicationMoveFailed", and provides the "destination" that the<br>channel was attempting to move to, as well as the usual channel<br>information. Optionally, a list of arguments can be passed to the<br>function call for the receiving application. A full example of a 'move'<br>call would look like this:<br><br>client.channels.move(channelId, app, appArgs)<br><br>The control object used to control the channel in Stasis can now switch<br>which application it belongs to, rather than belonging to one Stasis<br>application for its lifetime. This allows us to use the same control<br>object instead of having to tear down the current one and create<br>another.<br><br>ASTERISK-28267 #close<br><br>Change-Id: I43d12b10045a98a8d42541889b85695be26f288a<br>---<br>M CHANGES<br>M include/asterisk/stasis_app.h<br>M res/ari/ari_model_validators.c<br>M res/ari/ari_model_validators.h<br>M res/ari/resource_channels.c<br>M res/ari/resource_channels.h<br>M res/res_ari_channels.c<br>M res/res_stasis.c<br>M res/stasis/control.c<br>M res/stasis/control.h<br>M rest-api/api-docs/channels.json<br>M rest-api/api-docs/events.json<br>12 files changed, 700 insertions(+), 14 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/10937/10</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/10937">change 10937</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/+/10937"/><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: I43d12b10045a98a8d42541889b85695be26f288a </div>
<div style="display:none"> Gerrit-Change-Number: 10937 </div>
<div style="display:none"> Gerrit-PatchSet: 10 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>