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





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On April 18th, 2013, 6:03 p.m. UTC, <b>opticron</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">These tests function correctly and cover everything they intend to.

The singleton pattern used seems to be unnecessary given that Charlie could hang up after sending the Userevent and the connected line information could be gleaned from existing AMI events from the UUT.</pre>
 </blockquote>







</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">After lots of failed tests, this approach proved to be less prone to timing failures.</pre>
<br />










<p>- Matt</p>


<br />
<p>On April 15th, 2013, 7:30 p.m. UTC, Matt Jordan 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 Matt Jordan.</div>


<p style="color: grey;"><i>Updated April 15, 2013, 7:30 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-20054">ASTERISK-20054</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
testsuite
</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 adds tests to the Asterisk Test Suite for DTMF tranfers. These tests cover when the transfer operations actually work, and cover blind, attended, and blonde transfers. The transfer target is Charlie; the tests always check that both Alice and Bob can perform the transfer operation. Connected line on the transfer target is verified during the test.

Note that these tests do not include CDRs or CEL checking yet.
1) CDR checking doesn&#39;t make much sense until the CDR work is farther along and includes bridging work, as (a) CDRs are currently not defined in transfer scenarios and (b) it&#39;s all going to change anyway
2) CEL checking, as it is done currently, can&#39;t handle unordered CEL events (and things don&#39;t always have a deterministic ordering when a transfer happens). We&#39;ll need to circle back and re-working our test infrastructure for that support. Also, this is going to change a lot again.</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>/asterisk/trunk/tests/bridge/atxfer_nominal/configs/ast1/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/lib/python/asterisk/BridgeTestCase.py <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_nominal/configs/ast1/sip-alice.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_nominal/configs/ast4/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_nominal/configs/ast4/sip.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_nominal/test-config.yaml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_nominal/transfer.py <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/atxfer_setup/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/automixmon/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/automon/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/configs/ast1/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/configs/ast1/sip-alice.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/configs/ast4/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/configs/ast4/sip.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/test-config.yaml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_nominal/transfer.py <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blindxfer_setup/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/configs/ast1/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/configs/ast1/sip-alice.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/configs/ast4/extensions.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/configs/ast4/sip.conf <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/test-config.yaml <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/blonde_nominal/transfer.py <span style="color: grey">(PRE-CREATION)</span></li>

 <li>/asterisk/trunk/tests/bridge/connected_line_update/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/dial_LS_options/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/disconnect/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/parkcall/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_no/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/parkcall_timeout/comebacktoorigin_yes/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/simple_bridge/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/tests.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/transfer_capabilities/test-config.yaml <span style="color: grey">(3703)</span></li>

 <li>/asterisk/trunk/tests/bridge/transfer_failure/test-config.yaml <span style="color: grey">(3703)</span></li>

</ul>

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







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








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