<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Bridging+Test+Plan">Asterisk 12 Bridging Test Plan</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://wiki.asterisk.org/wiki/display/~mjordan">Matt Jordan</a>
    </h4>
        <br/>
                         <h4>Changes (3)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h1. &quot;Vanilla&quot; bridging tests <br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">asdf</span> <span class="diff-added-words"style="background-color: #dfd;"> </span> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">These tests have no particular features they are testing, but rather they act as a baseline test <br> <br>h2. Baseline bridge test <br> <br>* Party A calls Party B using a configuration that does not allow for native bridging <br>* Ensure that a native bridge does not occur when Party B answers <br>* Party A hangs up. <br> <br>Repeat the test with Party B hanging up. <br> <br>h2. Native bridge test <br> <br>* Party A calls Party B using a configuration that allows for native bridging <br>* Ensure that a native bridge occurs after Party B answers <br>* Party A hangs up. <br> <br>Note for this test, it is outside the scope of the bridging layer to ensure that media passes once a native bridge is established. It is only important to ensure a native bridge is attempted. <br> <br>Repeat the test with Party B hanging up. <br> <br>h2. Mid-call events. <br> <br>These tests are designed to ensure that bridges react properly to specific mid-call events. All tests in this configuration will use non-native bridging configuration. <br> <br>h3. Connected Line update <br>* Party A calls Party B. Party B answers. <br>* Party A sends a connected line update to Party B. <br>* Party B sends a connected line update to Party A. <br>* Party A hangs up. <br> <br>h3. Redirecting update <br>* Party A calls Party B. Party B answers. <br>* Party A sends a redirecting update to Party B. <br>* Party B sends a redirecting update to Party A. <br>* Party A hangs up. <br> <br>h3. Timed call <br> <br>h4. Announcements <br> <br>* Party A calls Party B with the L(5000:3000:1000) dial option in use. <br>* Ensure that warnings start with 3 seconds left in the call. <br>* Ensure warning is repeated every second. <br>* Ensure call ends after 5 seconds. <br>(Note the important aspect of the test is not the timing of the events but that they actually occur at all) <br> <br>h4. Call Termination <br> <br>* Party A calls Party B with the S(5000) dial option in use. <br>* Ensure call ends after 5 seconds. <br> <br>h1. Two-party features tests <br> <br>These tests are designed to test specific features of bridges that involve two parties. <br> <br>h2. DTMF disconnect <br> <br>h3. Test 1: <br> <br>* Party A dials Party B with the &#39;H&#39; Dial option set. <br>* Party B attempts to disconnect the call using the configured disconnect key (this should fail) <br>* Party A presses the configured disconnect key in order to end the call. <br> <br>h3. Test 2: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;H&#39;. <br>* Party A dials party B. <br>* Party B attempts to disconnect the call using the configured disconnect key (this should fail) <br>* Party A presses the configured disconnect key in order to end the call. <br> <br>h3. Test 3: <br>* Party A dials Party B with the &#39;h&#39; Dial option set. <br>* Party A attempts to disconnect the call using the configured disconnect key (this should fail) <br>* Party B presses the configured disconnect key in order to end the call. <br> <br>h3. Test 4: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;h&#39;. <br>* Party A dials party B. <br>* Party A attempts to disconnect the call using the configured disconnect key (this should fail) <br>* Party B presses the configured disconnect key in order to end the call. <br> <br>h2. Auto-Monitor and Auto-MixMonitor <br> <br>The following tests are written using the &#39;W&#39; and &#39;w&#39; options and the word &quot;Auto-Monitor&quot;. The tests should be run a second time with the &#39;X&#39; and &#39;x&#39; options and with &quot;Auto-MixMonitor&quot; though. The important thing to test is that the feature is detected and that the task is farmed out appropriately. The tests are not interested in the actual call recording process. <br> <br>h3. Test 1: <br>* Party A dials Party B with the &#39;W&#39; Dial option set. <br>* Party B attempts to record the call using the configured Auto-Monitor key (this should fail) <br>* Party A presses the configured Auto-Monitor key to record the call <br>* Party B attempts to end the recording using the configured Auto-Monitor key (this should fail) <br>* Party A presses the configured Auto-Monitor key to end the call recording <br>* Either party hangs up <br> <br>h3. Test 2: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;W&#39; <br>* Party A dials Party B <br>* Party B attempts to record the call using the configured Auto-Monitor key (this should fail) <br>* Party A presses the configured Auto-Monitor key to record the call <br>* Party B attempts to end the recording using the configured Auto-Monitor key (this should fail) <br>* Party A presses the configured Auto-Monitor key to end the call recording <br>Either party hangs up <br>(NOTE: This test currently does not apply to the &#39;X&#39; option for Auto-MixMonitor) <br> <br>h3. Test 3: <br>* Party A dials Party B with the &#39;w&#39; Dial option set. <br>* Party A attempts to record the call using the configured Auto-Monitor key (this should fail) <br>* Party B presses the configured Auto-Monitor key to record the call <br>* Party A attempts to end the recording using the configured Auto-Monitor key (this should fail) <br>* Party B presses the configured Auto-Monitor key to end the call recording <br>Either party hangs up <br> <br>h3. Test 4: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;w&#39; <br>* Party A dials Party B <br>* Party A attempts to record the call using the configured Auto-Monitor key (this should fail) <br>* Party B presses the configured Auto-Monitor key to record the call <br>* Party A attempts to end the recording using the configured Auto-Monitor key (this should fail) <br>* Party B presses the configured Auto-Monitor key to end the call recording <br>Either party hangs up <br>(NOTE: This test currently does not apply to the &#39;x&#39; option for Auto-MixMonitor) <br> <br>h2. One touch parking <br>Like with previous tests for DTMF features, the focus of this test is that the DTMF is recognized and the task is farmed out to the appropriate handler. There will be many more call parking tests described later. These will focus on the results of parking much more closely than this test will. They will also focus on off-nominal scenarios such as attempting to park a caller in a full lot. <br> <br>h3. Test 1: <br>* Party A dials Party B with the &#39;K&#39; Dial option set. <br>* Party B attempts to park the call using the configured one touch parking key (this should fail) <br>* Party A presses the configured one touch parking key to park the call <br>* Party A hangs up <br> <br>h3. Test 2: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;K&#39; <br>* Party A dials Party B <br>* Party B attempts to park the call using the configured one touch parking key (this should fail) <br>* Party A presses the configured one touch parking key to park the call <br>* Party A hangs up <br> <br>h3. Test 3: <br>* Party A dials Party B with the &#39;k&#39; Dial option set. <br>* Party A attempts to park the call using the configured one touch parking key (this should fail) <br>* Party B presses the configured one touch parking key to park the call <br>* Party B hangs up <br> <br>h3. Test 4: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;k&#39; <br>* Party A dials Party B <br>* Party A attempts to park the call using the configured one touch parking key (this should fail) <br>* Party B presses the configured one touch parking key to park the call <br>* Party B hangs up <br> <br>h2. Transfer tests <br> <br>These tests are designed to test call transfers. The initial tests will be much like the two-party DTMF feature tests above: they will simply test that DTMF is recognized and that the task gets distributed to the proper handler. Follow-up tests will focus more on the transfer operation to ensure that behavior is as expected. <br> <br>When testing transfers, keep in mind that multiple bridges will be involved. Therefore, the standard bridge checks need to be performed for each bridge involved. Blind transfers should all check the BLINDTRANSFER channel variable. <br> <br>h3. Test 1: <br>* Party A dials Party B with the &#39;T&#39; Dial option set. <br>* Party B attempts to transfer the call with the configured blind transfer key (this should fail) <br>* Party B attempts to transfer the call with the configured attended transfer key (this should fail) <br>* Party A attempts to transfer the call with the configured blind transfer key <br>* Party A waits until the time to dial the transfer target times out <br>* Party A attempts to transfer the call with the configured attended transfer key <br>* Party A waits until the time to dial the transfer target times out <br>Either party hangs up. <br> <br>h3. Test 2: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;T&#39; <br>* Party A dials Party B <br>* Party B attempts to transfer the call with the configured blind transfer key (this should fail) <br>* Party B attempts to transfer the call with the configured attended transfer key (this should fail) <br>* Party A attempts to transfer the call with the configured blind transfer key <br>* Party A waits until the time to dial the transfer target times out <br>* Party A attempts to transfer the call with the configured attended transfer key <br>* Party A waits until the time to dial the transfer target times out <br>Either party hangs up. <br> <br>h3. Test 3: <br>* Party A dials Party B with the &#39;t&#39; Dial option set. <br>* Party A attempts to transfer the call with the configured blind transfer key (this should fail) <br>* Party A attempts to transfer the call with the configured attended transfer key (this should fail) <br>* Party B attempts to transfer the call with the configured blind transfer key <br>* Party B waits until the time to dial the transfer target times out <br>* Party B attempts to transfer the call with the configured attended transfer key <br>* Party B waits until the time to dial the transfer target times out <br>Either party hangs up. <br> <br>h3. Test 4: <br>* Party A sets the BRIDGE_FEATURES channel variable to &#39;t&#39; <br>* Party A dials Party B <br>* Party A attempts to transfer the call with the configured blind transfer key (this should fail) <br>* Party A attempts to transfer the call with the configured attended transfer key (this should fail) <br>* Party B attempts to transfer the call with the configured blind transfer key <br>* Party B waits until the time to dial the transfer target times out <br>* Party B attempts to transfer the call with the configured attended transfer key <br>* Party B waits until the time to dial the transfer target times out <br>Either party hangs up. <br> <br>h3. Test 5: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts to transfer the call with the configured blind transfer key to Party C, Party C answers <br>* Party C hangs up. <br> <br>h3. Test 6: <br>The same as test 5 except that it is an attended transfer <br> <br>h3. Test 7: <br>The same as test 5 except that it is a blonde transfer <br> <br>h3. Test 8: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts to transfer the call with the configured blind transfer key to Party C, Party C answers <br>* Party C hangs up. <br> <br>h3. Test 9: <br>The same as test 8 except that it is an attended transfer <br> <br>h3. Test 10: <br>The same as test 8 except that it is a blonde transfer <br> <br>h3. Test 11: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts to transfer the call with the configured blind transfer key to a non-existent dialplan extension <br>* Party A hangs up <br> <br>h3. Test 12: <br>Same as test 11 except that it is an attended transfer <br> <br>h3. Test 13: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts to transfer the call with the configured blind transfer key to a non-existent dialplan extension <br>* Party B hangs up <br> <br>h3. Test 14: <br>Same as test 13 except that it is an attended transfer <br> <br>h3. Test 15: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts to transfer the call with the configured blind transfer key to Party C, who is busy <br> <br>h3. Test 16: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts to transfer the call with the configured attended transfer key to Party C, who is busy <br>* After parties A and B are re-bridged, Party A hangs up <br> <br>h3. Test 17: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit <br>* Party A should be called back. Party A answers. <br>* Party A hangs up. <br>(NOTE: This test appears to fail in current Asterisk trunk. A gets called back, but once he answers, the call is immediately dropped) <br> <br>h3. Test 18: <br>* Party A dials Party B with the &#39;T&#39; Dial option set <br>* Party A attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit <br>* Party A should be called back. Party A does not answer. <br> <br>h3. Test 19: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts to transfer the call with the configured blind transfer key to Party C, who is busy <br> <br>h3. Test 20: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts to transfer the call with the configured attended transfer key to Party C, who is busy <br>* After parties A and B are re-bridged, Party B hangs up <br> <br>h3. Test 21: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit <br>* Party B should be called back. Party B answers. <br>* Party B hangs up. <br>(NOTE: This test appears to fail in current Asterisk trunk. B gets called back, but once he answers, the call is immediately dropped) <br> <br>h3. Test 22: <br>* Party A dials Party B with the &#39;t&#39; Dial option set <br>* Party B attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit <br>* Party B should be called back. Party B does not answer. <br> <br>Call Parking <br>Call parking has four main elements to test <br> <br>The act of parking the call <br>The effect of allowing a parked call to time out <br>The features allowed on a retrieved parked call <br>Parking the call <br>The following tests should be run three times <br> <br>In the first run, no parking lot is configured. <br>In the second, a specific pre-configured parking lot is chosen using the PARKINGLOT channel variable. <br>In the third, a dynamically-created parking lot is used. <br>Some tests do not apply for specific runs, and they will be noted. <br>In addition, each test should be run with the parties reversed. <br> <br>Test 1: <br>Party A dials Party B with the &#39;T&#39; Dial option set <br>Party A transfers Party B to the parking extension using the configured blind transfer key <br> <br>Test 2: <br>Party A dials Party B with the &#39;T&#39; Dial option set <br>Party A transfers Party B to the parking extension using the configured attended transfer key <br> <br>Tests 3 and 4: <br>Tests 1 and 2 are re-run but the parking lot is full <br> <br>Tests 5 and 6: <br>Tests 1 and 2 are re-run but with no configured parking extension <br> <br>Allowing the parked call to time out <br>All tests start with the precondition that there is a parked party and that the parked call timeout has been reached. <br>All tests should make sure after the timeout that the PARKINGSLOT, PARKEDLOT, and PARKER variables are set properly. <br> <br>Test 1: <br>comebacktoorigin is set to yes. <br>Parker is called back. <br>Parker answers the call. <br>Parker hangs up. <br> <br>Test 2: <br>comebacktoorigin is set to yes. <br>comebackdialtime is set to 3 seconds. <br>Parker is called back. <br>Parker does not answer the call within the configured time. <br>Ensure the call moves on to park-dial,t,1 extension <br> <br>Test 3: <br>comebacktoorigin is set to yes. <br>Parker is called back, but is busy. <br>Ensure the call moves on to park-dial,h,1 extension <br> <br>Test 4: <br>comebacktoorigin is set to no. <br>comebackcontext is set to &quot;park_context&quot; <br>Ensure that extension corresponding to parker&#39;s channel name is called back. <br>Parker answers the call, then hangs up. <br> <br>Test 5: <br>comebacktoorigin is set to no. <br>comebackcontext is set to &quot;park_context&quot; <br>Ensure that extension corresponding to parker&#39;s channel name is called back. <br>Parker does not answer <br> <br>Test 6: <br>comebacktoorigin is set to no. <br>comebackcontext is set to &quot;park_context&quot; <br>Ensure that extension corresponding to parker&#39;s channel name is called back. <br>Parker is busy <br> <br>Test 7: <br>comebacktoorigin is set to no. <br>comebackcontext is set to &quot;park_context&quot; <br>There is no extension corresponding to parker&#39;s channel name. <br>Ensure that &#39;s&#39; extension is called. <br> <br>Test 8: <br>comebacktoorigin is set to no. <br>comebackcontext is set to &quot;park_context&quot; <br>There is no extension corresponding to parker&#39;s channel name. <br>There is no &#39;s&#39; extension <br>Ensure parked call is hung up properly <br> <br>Features allowed after call parking retrieval <br>These tests have the precondition that a caller is parked <br> <br>Test 1: <br>With default options set, Party A retrieves the parked call. <br>Parties A and B both attempt blind and attended transfers. They should not work. <br>Parties A and B both attempt one-touch recording. They should not work. <br>Parties A and B both attempt one-touch parking. They should not work. <br>Parties A and B both attempt DTMF hangup. They should not work. <br> <br>Test 2: <br>parkedcalltransfers is set to caller <br>Party A retrieves parked call. <br>Party B attempts to transfer the call with blind and attended transfer keys. They should not work. <br>Party A transfers party B to party C. <br> <br>Test 3: <br>Re-run Test 2 with parkedcalltransfers set to callee and reverse parties&#39; roles. <br> <br>Test 4: <br>parkedcalltransfers is set to both <br>Party A retrieves parked call <br>Party A transfers party B to party C <br> <br>Test 5: <br>Same as Test 4 but Party B makes the transfer <br> <br>Tests 6-9: <br>Same as tests 2-5, but applicable to the parkedcallhangup setting. <br> <br>Tests 10-13: <br>Same as tests 2-5, but applicable to the parkedcallreparking setting. <br> <br>Tests 14-17: <br>Same as tests 2-5, but applicable to the parkedcallrecording setting. <br> <br>Tests 18-33: <br>Same as tests 2-17, but instead of using features.conf settings, have settings <br>inherited from the original bridge by using the h, H, k, K, w, W, x, and X settings for Dial. <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="Asterisk12BridgingTestPlan-%22Vanilla%22bridgingtests"></a>"Vanilla" bridging tests</h1>

<p>These tests have no particular features they are testing, but rather they act as a baseline test</p>

<h2><a name="Asterisk12BridgingTestPlan-Baselinebridgetest"></a>Baseline bridge test</h2>

<ul>
        <li>Party A calls Party B using a configuration that does not allow for native bridging</li>
        <li>Ensure that a native bridge does not occur when Party B answers</li>
        <li>Party A hangs up.</li>
</ul>


<p>Repeat the test with Party B hanging up.</p>

<h2><a name="Asterisk12BridgingTestPlan-Nativebridgetest"></a>Native bridge test</h2>

<ul>
        <li>Party A calls Party B using a configuration that allows for native bridging</li>
        <li>Ensure that a native bridge occurs after Party B answers</li>
        <li>Party A hangs up.</li>
</ul>


<p>Note for this test, it is outside the scope of the bridging layer to ensure that media passes once a native bridge is established. It is only important to ensure a native bridge is attempted.</p>

<p>Repeat the test with Party B hanging up.</p>

<h2><a name="Asterisk12BridgingTestPlan-Midcallevents."></a>Mid-call events.</h2>

<p>These tests are designed to ensure that bridges react properly to specific mid-call events. All tests in this configuration will use non-native bridging configuration.</p>

<h3><a name="Asterisk12BridgingTestPlan-ConnectedLineupdate"></a>Connected Line update</h3>
<ul>
        <li>Party A calls Party B. Party B answers.</li>
        <li>Party A sends a connected line update to Party B.</li>
        <li>Party B sends a connected line update to Party A.</li>
        <li>Party A hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Redirectingupdate"></a>Redirecting update</h3>
<ul>
        <li>Party A calls Party B. Party B answers.</li>
        <li>Party A sends a redirecting update to Party B.</li>
        <li>Party B sends a redirecting update to Party A.</li>
        <li>Party A hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Timedcall"></a>Timed call</h3>

<h4><a name="Asterisk12BridgingTestPlan-Announcements"></a>Announcements</h4>

<ul>
        <li>Party A calls Party B with the L(5000:3000:1000) dial option in use.</li>
        <li>Ensure that warnings start with 3 seconds left in the call.</li>
        <li>Ensure warning is repeated every second.</li>
        <li>Ensure call ends after 5 seconds.<br/>
(Note the important aspect of the test is not the timing of the events but that they actually occur at all)</li>
</ul>


<h4><a name="Asterisk12BridgingTestPlan-CallTermination"></a>Call Termination</h4>

<ul>
        <li>Party A calls Party B with the S(5000) dial option in use.</li>
        <li>Ensure call ends after 5 seconds.</li>
</ul>


<h1><a name="Asterisk12BridgingTestPlan-Twopartyfeaturestests"></a>Two-party features tests</h1>

<p>These tests are designed to test specific features of bridges that involve two parties.</p>

<h2><a name="Asterisk12BridgingTestPlan-DTMFdisconnect"></a>DTMF disconnect</h2>

<h3><a name="Asterisk12BridgingTestPlan-Test1%3A"></a>Test 1:</h3>

<ul>
        <li>Party A dials Party B with the 'H' Dial option set.</li>
        <li>Party B attempts to disconnect the call using the configured disconnect key (this should fail)</li>
        <li>Party A presses the configured disconnect key in order to end the call.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test2%3A"></a>Test 2:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'H'.</li>
        <li>Party A dials party B.</li>
        <li>Party B attempts to disconnect the call using the configured disconnect key (this should fail)</li>
        <li>Party A presses the configured disconnect key in order to end the call.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test3%3A"></a>Test 3:</h3>
<ul>
        <li>Party A dials Party B with the 'h' Dial option set.</li>
        <li>Party A attempts to disconnect the call using the configured disconnect key (this should fail)</li>
        <li>Party B presses the configured disconnect key in order to end the call.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test4%3A"></a>Test 4:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'h'.</li>
        <li>Party A dials party B.</li>
        <li>Party A attempts to disconnect the call using the configured disconnect key (this should fail)</li>
        <li>Party B presses the configured disconnect key in order to end the call.</li>
</ul>


<h2><a name="Asterisk12BridgingTestPlan-AutoMonitorandAutoMixMonitor"></a>Auto-Monitor and Auto-MixMonitor</h2>

<p>The following tests are written using the 'W' and 'w' options and the word "Auto-Monitor". The tests should be run a second time with the 'X' and 'x' options and with "Auto-MixMonitor" though. The important thing to test is that the feature is detected and that the task is farmed out appropriately. The tests are not interested in the actual call recording process.</p>

<h3><a name="Asterisk12BridgingTestPlan-Test1%3A"></a>Test 1:</h3>
<ul>
        <li>Party A dials Party B with the 'W' Dial option set.</li>
        <li>Party B attempts to record the call using the configured Auto-Monitor key (this should fail)</li>
        <li>Party A presses the configured Auto-Monitor key to record the call</li>
        <li>Party B attempts to end the recording using the configured Auto-Monitor key (this should fail)</li>
        <li>Party A presses the configured Auto-Monitor key to end the call recording</li>
        <li>Either party hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test2%3A"></a>Test 2:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'W'</li>
        <li>Party A dials Party B</li>
        <li>Party B attempts to record the call using the configured Auto-Monitor key (this should fail)</li>
        <li>Party A presses the configured Auto-Monitor key to record the call</li>
        <li>Party B attempts to end the recording using the configured Auto-Monitor key (this should fail)</li>
        <li>Party A presses the configured Auto-Monitor key to end the call recording<br/>
Either party hangs up<br/>
(NOTE: This test currently does not apply to the 'X' option for Auto-MixMonitor)</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test3%3A"></a>Test 3:</h3>
<ul>
        <li>Party A dials Party B with the 'w' Dial option set.</li>
        <li>Party A attempts to record the call using the configured Auto-Monitor key (this should fail)</li>
        <li>Party B presses the configured Auto-Monitor key to record the call</li>
        <li>Party A attempts to end the recording using the configured Auto-Monitor key (this should fail)</li>
        <li>Party B presses the configured Auto-Monitor key to end the call recording<br/>
Either party hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test4%3A"></a>Test 4:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'w'</li>
        <li>Party A dials Party B</li>
        <li>Party A attempts to record the call using the configured Auto-Monitor key (this should fail)</li>
        <li>Party B presses the configured Auto-Monitor key to record the call</li>
        <li>Party A attempts to end the recording using the configured Auto-Monitor key (this should fail)</li>
        <li>Party B presses the configured Auto-Monitor key to end the call recording<br/>
Either party hangs up<br/>
(NOTE: This test currently does not apply to the 'x' option for Auto-MixMonitor)</li>
</ul>


<h2><a name="Asterisk12BridgingTestPlan-Onetouchparking"></a>One touch parking</h2>
<p>Like with previous tests for DTMF features, the focus of this test is that the DTMF is recognized and the task is farmed out to the appropriate handler. There will be many more call parking tests described later. These will focus on the results of parking much more closely than this test will. They will also focus on off-nominal scenarios such as attempting to park a caller in a full lot.</p>

<h3><a name="Asterisk12BridgingTestPlan-Test1%3A"></a>Test 1:</h3>
<ul>
        <li>Party A dials Party B with the 'K' Dial option set.</li>
        <li>Party B attempts to park the call using the configured one touch parking key (this should fail)</li>
        <li>Party A presses the configured one touch parking key to park the call</li>
        <li>Party A hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test2%3A"></a>Test 2:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'K'</li>
        <li>Party A dials Party B</li>
        <li>Party B attempts to park the call using the configured one touch parking key (this should fail)</li>
        <li>Party A presses the configured one touch parking key to park the call</li>
        <li>Party A hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test3%3A"></a>Test 3:</h3>
<ul>
        <li>Party A dials Party B with the 'k' Dial option set.</li>
        <li>Party A attempts to park the call using the configured one touch parking key (this should fail)</li>
        <li>Party B presses the configured one touch parking key to park the call</li>
        <li>Party B hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test4%3A"></a>Test 4:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'k'</li>
        <li>Party A dials Party B</li>
        <li>Party A attempts to park the call using the configured one touch parking key (this should fail)</li>
        <li>Party B presses the configured one touch parking key to park the call</li>
        <li>Party B hangs up</li>
</ul>


<h2><a name="Asterisk12BridgingTestPlan-Transfertests"></a>Transfer tests</h2>

<p>These tests are designed to test call transfers. The initial tests will be much like the two-party DTMF feature tests above: they will simply test that DTMF is recognized and that the task gets distributed to the proper handler. Follow-up tests will focus more on the transfer operation to ensure that behavior is as expected.</p>

<p>When testing transfers, keep in mind that multiple bridges will be involved. Therefore, the standard bridge checks need to be performed for each bridge involved. Blind transfers should all check the BLINDTRANSFER channel variable.</p>

<h3><a name="Asterisk12BridgingTestPlan-Test1%3A"></a>Test 1:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set.</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key (this should fail)</li>
        <li>Party B attempts to transfer the call with the configured attended transfer key (this should fail)</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key</li>
        <li>Party A waits until the time to dial the transfer target times out</li>
        <li>Party A attempts to transfer the call with the configured attended transfer key</li>
        <li>Party A waits until the time to dial the transfer target times out<br/>
Either party hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test2%3A"></a>Test 2:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 'T'</li>
        <li>Party A dials Party B</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key (this should fail)</li>
        <li>Party B attempts to transfer the call with the configured attended transfer key (this should fail)</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key</li>
        <li>Party A waits until the time to dial the transfer target times out</li>
        <li>Party A attempts to transfer the call with the configured attended transfer key</li>
        <li>Party A waits until the time to dial the transfer target times out<br/>
Either party hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test3%3A"></a>Test 3:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set.</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key (this should fail)</li>
        <li>Party A attempts to transfer the call with the configured attended transfer key (this should fail)</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key</li>
        <li>Party B waits until the time to dial the transfer target times out</li>
        <li>Party B attempts to transfer the call with the configured attended transfer key</li>
        <li>Party B waits until the time to dial the transfer target times out<br/>
Either party hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test4%3A"></a>Test 4:</h3>
<ul>
        <li>Party A sets the BRIDGE_FEATURES channel variable to 't'</li>
        <li>Party A dials Party B</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key (this should fail)</li>
        <li>Party A attempts to transfer the call with the configured attended transfer key (this should fail)</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key</li>
        <li>Party B waits until the time to dial the transfer target times out</li>
        <li>Party B attempts to transfer the call with the configured attended transfer key</li>
        <li>Party B waits until the time to dial the transfer target times out<br/>
Either party hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test5%3A"></a>Test 5:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key to Party C, Party C answers</li>
        <li>Party C hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test6%3A"></a>Test 6:</h3>
<p>The same as test 5 except that it is an attended transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test7%3A"></a>Test 7:</h3>
<p>The same as test 5 except that it is a blonde transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test8%3A"></a>Test 8:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key to Party C, Party C answers</li>
        <li>Party C hangs up.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test9%3A"></a>Test 9:</h3>
<p>The same as test 8 except that it is an attended transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test10%3A"></a>Test 10:</h3>
<p>The same as test 8 except that it is a blonde transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test11%3A"></a>Test 11:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key to a non-existent dialplan extension</li>
        <li>Party A hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test12%3A"></a>Test 12:</h3>
<p>Same as test 11 except that it is an attended transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test13%3A"></a>Test 13:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key to a non-existent dialplan extension</li>
        <li>Party B hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test14%3A"></a>Test 14:</h3>
<p>Same as test 13 except that it is an attended transfer</p>

<h3><a name="Asterisk12BridgingTestPlan-Test15%3A"></a>Test 15:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts to transfer the call with the configured blind transfer key to Party C, who is busy</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test16%3A"></a>Test 16:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts to transfer the call with the configured attended transfer key to Party C, who is busy</li>
        <li>After parties A and B are re-bridged, Party A hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test17%3A"></a>Test 17:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit</li>
        <li>Party A should be called back. Party A answers.</li>
        <li>Party A hangs up.<br/>
(NOTE: This test appears to fail in current Asterisk trunk. A gets called back, but once he answers, the call is immediately dropped)</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test18%3A"></a>Test 18:</h3>
<ul>
        <li>Party A dials Party B with the 'T' Dial option set</li>
        <li>Party A attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit</li>
        <li>Party A should be called back. Party A does not answer.</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test19%3A"></a>Test 19:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts to transfer the call with the configured blind transfer key to Party C, who is busy</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test20%3A"></a>Test 20:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts to transfer the call with the configured attended transfer key to Party C, who is busy</li>
        <li>After parties A and B are re-bridged, Party B hangs up</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test21%3A"></a>Test 21:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit</li>
        <li>Party B should be called back. Party B answers.</li>
        <li>Party B hangs up.<br/>
(NOTE: This test appears to fail in current Asterisk trunk. B gets called back, but once he answers, the call is immediately dropped)</li>
</ul>


<h3><a name="Asterisk12BridgingTestPlan-Test22%3A"></a>Test 22:</h3>
<ul>
        <li>Party A dials Party B with the 't' Dial option set</li>
        <li>Party B attempts a blonde transfer of the call with the configured attended transfer key to Party C, who does not answer within a time limit</li>
        <li>Party B should be called back. Party B does not answer.</li>
</ul>


<p>Call Parking<br/>
Call parking has four main elements to test</p>

<p>The act of parking the call<br/>
The effect of allowing a parked call to time out<br/>
The features allowed on a retrieved parked call<br/>
Parking the call<br/>
The following tests should be run three times</p>

<p>In the first run, no parking lot is configured.<br/>
In the second, a specific pre-configured parking lot is chosen using the PARKINGLOT channel variable.<br/>
In the third, a dynamically-created parking lot is used.<br/>
Some tests do not apply for specific runs, and they will be noted.<br/>
In addition, each test should be run with the parties reversed.</p>

<p>Test 1:<br/>
Party A dials Party B with the 'T' Dial option set<br/>
Party A transfers Party B to the parking extension using the configured blind transfer key</p>

<p>Test 2:<br/>
Party A dials Party B with the 'T' Dial option set<br/>
Party A transfers Party B to the parking extension using the configured attended transfer key</p>

<p>Tests 3 and 4:<br/>
Tests 1 and 2 are re-run but the parking lot is full</p>

<p>Tests 5 and 6:<br/>
Tests 1 and 2 are re-run but with no configured parking extension</p>

<p>Allowing the parked call to time out<br/>
All tests start with the precondition that there is a parked party and that the parked call timeout has been reached.<br/>
All tests should make sure after the timeout that the PARKINGSLOT, PARKEDLOT, and PARKER variables are set properly.</p>

<p>Test 1:<br/>
comebacktoorigin is set to yes.<br/>
Parker is called back.<br/>
Parker answers the call.<br/>
Parker hangs up.</p>

<p>Test 2:<br/>
comebacktoorigin is set to yes.<br/>
comebackdialtime is set to 3 seconds.<br/>
Parker is called back.<br/>
Parker does not answer the call within the configured time.<br/>
Ensure the call moves on to park-dial,t,1 extension</p>

<p>Test 3:<br/>
comebacktoorigin is set to yes.<br/>
Parker is called back, but is busy.<br/>
Ensure the call moves on to park-dial,h,1 extension</p>

<p>Test 4:<br/>
comebacktoorigin is set to no.<br/>
comebackcontext is set to "park_context"<br/>
Ensure that extension corresponding to parker's channel name is called back.<br/>
Parker answers the call, then hangs up.</p>

<p>Test 5:<br/>
comebacktoorigin is set to no.<br/>
comebackcontext is set to "park_context"<br/>
Ensure that extension corresponding to parker's channel name is called back.<br/>
Parker does not answer</p>

<p>Test 6:<br/>
comebacktoorigin is set to no.<br/>
comebackcontext is set to "park_context"<br/>
Ensure that extension corresponding to parker's channel name is called back.<br/>
Parker is busy</p>

<p>Test 7:<br/>
comebacktoorigin is set to no.<br/>
comebackcontext is set to "park_context"<br/>
There is no extension corresponding to parker's channel name.<br/>
Ensure that 's' extension is called.</p>

<p>Test 8:<br/>
comebacktoorigin is set to no.<br/>
comebackcontext is set to "park_context"<br/>
There is no extension corresponding to parker's channel name.<br/>
There is no 's' extension<br/>
Ensure parked call is hung up properly</p>

<p>Features allowed after call parking retrieval<br/>
These tests have the precondition that a caller is parked</p>

<p>Test 1:<br/>
With default options set, Party A retrieves the parked call.<br/>
Parties A and B both attempt blind and attended transfers. They should not work.<br/>
Parties A and B both attempt one-touch recording. They should not work.<br/>
Parties A and B both attempt one-touch parking. They should not work.<br/>
Parties A and B both attempt DTMF hangup. They should not work.</p>

<p>Test 2:<br/>
parkedcalltransfers is set to caller<br/>
Party A retrieves parked call.<br/>
Party B attempts to transfer the call with blind and attended transfer keys. They should not work.<br/>
Party A transfers party B to party C.</p>

<p>Test 3:<br/>
Re-run Test 2 with parkedcalltransfers set to callee and reverse parties' roles.</p>

<p>Test 4:<br/>
parkedcalltransfers is set to both<br/>
Party A retrieves parked call<br/>
Party A transfers party B to party C</p>

<p>Test 5:<br/>
Same as Test 4 but Party B makes the transfer</p>

<p>Tests 6-9:<br/>
Same as tests 2-5, but applicable to the parkedcallhangup setting.</p>

<p>Tests 10-13:<br/>
Same as tests 2-5, but applicable to the parkedcallreparking setting.</p>

<p>Tests 14-17:<br/>
Same as tests 2-5, but applicable to the parkedcallrecording setting.</p>

<p>Tests 18-33:<br/>
Same as tests 2-17, but instead of using features.conf settings, have settings<br/>
inherited from the original bridge by using the h, H, k, K, w, W, x, and X settings for Dial.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
        <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Bridging+Test+Plan">View Online</a>
        |
        <a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=22088052&revisedVersion=2&originalVersion=1">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Bridging+Test+Plan?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>