<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/2702/">https://reviewboard.asterisk.org/r/2702/</a>
     </td>
    </tr>
   </table>
   <br />



 <p>Ship it!</p>









<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="https://reviewboard.asterisk.org/r/2702/diff/2/?file=43020#file43020line21" style="color: black; font-weight: bold; text-decoration: underline;">/team/dlee/allow-multiple/res/ari/resource_asterisk.c</a>
    <span style="font-weight: normal;">

     (Diff revision 2)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#e9eaa8" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2">21</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span class="cm"> * \brief Implementation for <span class="hl">ARI</span> stubs.</span></pre></td>
    <th bgcolor="#e9eaa8" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">21</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span class="cm"> * \brief Implementation for <span class="hl">stasis-http</span> stubs.</span></pre></td>
  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Revert this change.</pre>
</div>
<br />



<p>- opticron</p>


<br />
<p>On July 29th, 2013, 5:15 p.m. CDT, David Lee wrote:</p>








<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 July 29, 2013, 5:15 p.m.</i></p>







<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-21575">ASTERISK-21575</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 basic system information access to ARI.

The results are roughly what you get from &#39;core show settings&#39;, with a
few minor differences.

 * Data is structured, with &#39;build&#39;, &#39;system&#39;, &#39;config&#39; and &#39;status&#39;
   sub-objects.
 * Each sub-object is selectable, using the ?only= parameter. A comma
   separated list can be provided to select multiple sections.
 * A few config options are numeric, for which 0 means &#39;unlimited&#39;.
   Instead of having a special interpretation of those fields, they
   are simply omitted if they&#39;re 0.
 * The information is limited to what might be useful to building
   external applications.

Here&#39;s an example output from my dev machine:
{
  &quot;build&quot;: {
    &quot;os&quot;: &quot;Darwin&quot;,
    &quot;kernel&quot;: &quot;12.4.0&quot;,
    &quot;machine&quot;: &quot;x86_64&quot;,
    &quot;options&quot;: &quot;DONT_OPTIMIZE, LOADABLE_MODULES, DISABLE_INLINE, TEST_FRAMEWORK&quot;,
    &quot;date&quot;: &quot;2013-07-25 01:10:32 UTC&quot;,
    &quot;user&quot;: &quot;dlee&quot;
  },
  &quot;system&quot;: {
    &quot;version&quot;: &quot;SVN-dlee-asterisk-info-URL:-r395493M&quot;,
    &quot;entity_id&quot;: &quot;58:b0:35:f7:fe:71&quot;
  },
  &quot;config&quot;: {
    &quot;name&quot;: &quot;&quot;,
    &quot;default_language&quot;: &quot;en&quot;,
    &quot;setid&quot;: {
      &quot;user&quot;: &quot;&quot;,
      &quot;group&quot;: &quot;&quot;
    },
    &quot;max_load&quot;: 0.5
  },
  &quot;status&quot;: {
    &quot;startup_time&quot;: &quot;2013-07-25T22:41:46.542-0500&quot;,
    &quot;last_reload_time&quot;: &quot;2013-07-25T22:41:46.542-0500&quot;
  }
}</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;">curl &quot;http://localhost:8088/ari/asterisk/info?api_key=ari:ari&amp;only=${whatever}&quot;</pre>
  </td>
 </tr>
</table>


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

 <li>/team/dlee/allow-multiple/res/ari/ari_model_validators.h <span style="color: grey">(395718)</span></li>

 <li>/team/dlee/allow-multiple/res/ari/ari_model_validators.c <span style="color: grey">(395718)</span></li>

 <li>/team/dlee/allow-multiple/res/ari/resource_asterisk.c <span style="color: grey">(395718)</span></li>

 <li>/team/dlee/allow-multiple/rest-api/api-docs/asterisk.json <span style="color: grey">(395718)</span></li>

</ul>

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







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








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