No subject


Fri Jun 28 13:27:35 CDT 2013


Next a control structure is created for the new channel. This is one place where I think there might be contention on how things should be done...

Most of the rest of this process work in the same way as playback on a channel with the ;1 of the announcer channel being the target of playback. Once the playback is successfully queued, things start to deviate again.

With all of that in place, a new thread is spun off which will take care of executing the stasis_app_control pool until it is empty. If the thread is created successfully, we will succeed and put out a reply with a playback control object which can then be used to manipulate the playback as it runs.

Back on the other thread, the control queue will have all of its operations run continuously until the queue is empty at which point the channel will be hung up and the control object disposed of.</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 playback with channels put into a stasis bridge by a stasis application.  In the process I hammered out a few validation bugs. I also made sure no allocations were left over in the bridging resource or the announcer and unreal channel drivers. That is hardly exhaustive though, as the actual places where objects are being allocated for this process are numerous.</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>/trunk/apps/confbridge/conf_chan_announce.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/include/asterisk/_private.h <span style="color: grey">(393998)</span></li>

 <li>/trunk/include/asterisk/bridging.h <span style="color: grey">(393998)</span></li>

 <li>/trunk/include/asterisk/channel.h <span style="color: grey">(393998)</span></li>

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

 <li>/trunk/include/asterisk/stasis_app.h <span style="color: grey">(393998)</span></li>

 <li>/trunk/include/asterisk/stasis_app_playback.h <span style="color: grey">(393998)</span></li>

 <li>/trunk/main/asterisk.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/main/bridging.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/main/channel.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/main/core_announcer.c <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/trunk/res/res_stasis.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/res_stasis_http_bridges.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/res_stasis_http_playback.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/res_stasis_playback.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/stasis/control.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/stasis_http/resource_bridges.h <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/stasis_http/resource_bridges.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/res/stasis_http/resource_channels.c <span style="color: grey">(393998)</span></li>

 <li>/trunk/rest-api/api-docs/bridges.json <span style="color: grey">(393998)</span></li>

 <li>/trunk/rest-api/api-docs/playback.json <span style="color: grey">(393998)</span></li>

</ul>

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







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








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


--===============3360862286213025277==--



More information about the asterisk-dev mailing list