<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://reviewboard.asterisk.org/r/2862/">https://reviewboard.asterisk.org/r/2862/</a>
     </td>
    </tr>
   </table>
   <br />




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://reviewboard.asterisk.org/static/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Asterisk Developers.</div>
<div>By David Lee.</div>


<p style="color: grey;"><i>Updated Sept. 27, 2013, 3:20 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Made endpoint_cmp match the ao2 template on the wiki.</pre>
  </td>
 </tr>
</table>





<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="https://issues.asterisk.org/jira/browse/ASTERISK-22451">ASTERISK-22451</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
Asterisk
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch adds an /applications API to ARI, allowing explicit management of
Stasis applications.

 * GET /applications - list current applications
 * GET /applications/{applicationName} - get details of a specific application
 * POST /applications/{applicationName}/subscription - explicitly subscribe to
   a channel, bridge or endpoint
 * DELETE /applications/{applicationName}/subscription - explicitly unsubscribe
   from a channel, bridge or endpoint

Subscriptions work by a reference counting mechanism: if you subscript to an
event source X number of times, you must unsubscribe X number of times to stop
receiveing events for that event source.
</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Testsuite tests (https://reviewboard.asterisk.org/r/2863/)

I hit a roadblock testing the endpoint subscription code, so that was tested
manually using wscat and Swagger-UI.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> (updated)</h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>/branches/12/include/asterisk/_private.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/include/asterisk/endpoints.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/include/asterisk/stasis_app.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/main/asterisk.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/main/endpoints.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/main/json.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/ari.make <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/ari/ari_model_validators.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/ari/ari_model_validators.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/ari/resource_applications.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/branches/12/res/ari/resource_applications.c <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/branches/12/res/ari/resource_endpoints.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/res_ari_applications.c <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/branches/12/res/res_ari_model.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/res_stasis.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/stasis/app.h <span style="color: grey">(399236)</span></li>

 <li>/branches/12/res/stasis/app.c <span style="color: grey">(399236)</span></li>

 <li>/branches/12/rest-api-templates/ari_model_validators.h.mustache <span style="color: grey">(399236)</span></li>

 <li>/branches/12/rest-api/api-docs/applications.json <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/branches/12/rest-api/api-docs/endpoints.json <span style="color: grey">(399236)</span></li>

 <li>/branches/12/rest-api/api-docs/events.json <span style="color: grey">(399236)</span></li>

 <li>/branches/12/rest-api/resources.json <span style="color: grey">(399236)</span></li>

</ul>

<p><a href="https://reviewboard.asterisk.org/r/2862/diff/" style="margin-left: 3em;">View Diff</a></p>







  </td>
 </tr>
</table>




  </div>
 </body>
</html>