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



 <p>Ship it!</p>



 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Ship It!</pre>
 <br />









<p>- Mark</p>


<br />
<p>On October 17th, 2013, 11:22 p.m. UTC, rmudgett 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 rmudgett.</div>


<p style="color: grey;"><i>Updated Oct. 17, 2013, 11:22 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-22629">ASTERISK-22629</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;">The original issue noted that the bridge is orphaned when res_parking.so is not loaded and a call uses the dial kK flags.

A similar issue happens when only one of the park flags is used.  In this case you have the bridge with one or the other channel left in it.  The channel and bridge will stay around until the channel hangs up.

* Fixed the initial bridge channel push failure to act as if the channel were kicked out of the bridge.  The bridge then decides if it needs to be dissolved.</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 res_parking.so unloaded with Caller dialing Callee
and dial kK flags:
  The bridge is no longer left lying around and saw the three case of the channels attempting to join and being bounced out.
  1) Caller attempts to join first
  2) Callee attempts to join first
  3) Caller and Callee join at the same time
and dial K flag:
  The bridge and channels are no longer left in the following cases
  1) Caller attempts to join first
  2) Callee joins first while Caller fails to join
and dial k flag:
  The bridge and channels are no longer left in the following cases
  1) Caller joins first while Callee fails to join
  2) Callee attempts to join first
</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/include/asterisk/bridge_channel_internal.h <span style="color: grey">(401177)</span></li>

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

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

</ul>

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







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








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