<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/2361/">https://reviewboard.asterisk.org/r/2361/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('https://reviewboard.asterisk.org/media/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 March 6, 2013, 3:18 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;">Minor updates.
* Merged stasis_core updates
* Fixed test/app load ordering issue</pre>
</td>
</tr>
</table>
<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 is based on the stasis-core message bus, in
https://reviewboard.asterisk.org/r/2339/
This is the API that binds the Stasis dialplan application to external
Stasis applications. It also adds the beginnings of WebSocket
application support.
This module registers a dialplan function named Stasis, which is used
to put a channel into the named Stasis app. As a channel enters and
leaves the Stasis diaplan applcation, the Stasis app receives a
'stasis-start' and 'stasis-end' events.
Stasis apps register themselves using the stasis_app_register and
stasis_app_unregister functions. Messages are sent to an appliction
using stasis_app_send.
Finally, Stasis apps control channels through the use of the
stasis_app_control object, and the family of stasis_app_control_*
functions.
The biggest unknown I have about this patch is how I'm exporting
symbols from app_stasis.so. I believe I'm doing it correctly, and they
should not need to use optional API. If anyone knows if it will be a
problem on BSD, Solaris, etc., please let me know.
Other changes along for the ride are:
* An ast_frame_dtor function that's RAII_VAR safe
* Some common JSON encoders for name/number, timeval, and
context/extension/priority
</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;">Unit tests; ran a few channels through the applications</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>/team/dlee/stasis-core/include/asterisk/frame.h <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/apps/app_stasis.exports.in <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/apps/stasis_json.c <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/include/asterisk/app_stasis.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/apps/Makefile <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/apps/app_stasis.c <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/include/asterisk/json.h <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/include/asterisk/localtime.h <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/main/frame.c <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/res/res_json.c <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/res/res_stasis_websocket.c <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/tests/test_abstract_jb.c <span style="color: grey">(382540)</span></li>
<li>/team/dlee/stasis-core/tests/test_app_stasis.c <span style="color: grey">(PRE-CREATION)</span></li>
<li>/team/dlee/stasis-core/tests/test_json.c <span style="color: grey">(382540)</span></li>
</ul>
<p><a href="https://reviewboard.asterisk.org/r/2361/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>