<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/3494/">https://reviewboard.asterisk.org/r/3494/</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.ab6f3b1072c9.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Asterisk Developers.</div>
<div>By Scott Griepentrog.</div>








<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-22697">ASTERISK-22697</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 changes the implementation of UserEvent stasis messaging and adds additional features:

1) Existing channel_user_event stasis messaging replaced with new multi_object_blob in stasis_user.c
2) Multi object blob provides ability to signal blob + any number of channel, bridge, or endpoint snapshots
3) Changed existing Userevent() app to use new multi object blob - but still publishes to channel
4) Added ARI implementation of userevent as /ari/applications/{applicationName}/user/{eventName}
5) ARI generated userevent messages are published to application, and also to AMI if channel present</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;">Tested with valgrind to insure no invalid references.  Some leaks found which have been attributed to other code to be fixed separately.</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>/branches/12/rest-api/api-docs/events.json <span style="color: grey">(413115)</span></li>

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

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

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

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

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

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

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

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

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

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

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

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

 <li>/branches/12/include/asterisk/stasis_user.h <span style="color: grey">(PRE-CREATION)</span></li>

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

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

 <li>/branches/12/apps/app_userevent.c <span style="color: grey">(413115)</span></li>

</ul>

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







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




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