<div>
<style type="text/css">
.successful a, .successful a:visited, .successful a:link, .successful a:hover,.successful  a:active {color:#393}
.failed a, .failed a:visited, .failed a:link, .failed a:hover,.failed  a:active {color:#d62829}
.notexecuted a, .notexecuted a:visited, .notexecuted a:link, .notexecuted a:hover,.notexecuted  a:active {color:#ffcc66}
td a, td a:link, td a:visited, td a:hover, td a:active {background:transparent;font-family: Arial, sans-serif;text-decoration:underline;}
td a:link {color:#369;}
td a:visited {color:#444;}
td a:hover, td a:active {color:#036;}
td a:hover {text-decoration:none;}
</style>
<font size="2" color="black" face="Arial, Helvetica, sans-serif" style="font-family: Arial, sans-serif;font-size: 13px;color:#000">
<table align="center" border="0" cellpadding="5" cellspacing="0" width="98%">

<tr>
        <td style="vertical-align:top">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ffe6e7;border-top:1px solid #eec0c0;border-bottom:1px solid #eec0c0;color:#d62829;">
            <tr>
                <td width="20" style="vertical-align:top;padding:5px 0 5px 10px">
                    <img src="http://bamboo.asterisk.org/images/jt/icn_plan_failed.gif" width="15" height="15">
                </td>
                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#d62829;padding:5px 10px">
      <a href="http://bamboo.asterisk.org/browse/AST/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">Asterisk</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/AST-TRUNK/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">trunk - Linux - x86_64</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">#382</a>
                    <span class="failed" style="font-family: Arial, sans-serif; font-size: 14px;"> has failed.</span>
                    <span class="failed" style="font-family: Arial, sans-serif; font-size: 13px;">
                    <br/>Code has been updated by <a href="http://bamboo.asterisk.org/browse/author/rmudgett">rmudgett</a>.
                            <br/><strong>1/116</strong> tests failed.
                    </span>
                </td>
            </tr>
        </table>
        <br>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Failing Jobs</a>
            </td>
            <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
            </td>
        </tr>
   </table>
         <table  width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="20" style="vertical-align:top;padding:11px 0 5px 10px; border-bottom:1px solid #EEEEEE; ">
                <img src="http://bamboo.asterisk.org/images/jt/icn_plan_failed.gif" width="15" height="15">
        </td>
        <td style="font-family: Arial, sans-serif; font-size: 13px; vertical-align:top;padding:10px 5px 10px 5px; border-bottom:1px solid #EEEEEE;">
                 <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-JOB1-382/"  style="color:red;">Asterisk Job</a>
             <span style="color:#444444; font-size:11px; font-style:italic;">(Asterisk)</span>
        </td>
        <td width="120" style="font-family: Arial, sans-serif; font-size: 13px; vertical-align:top;padding:10px 5px 10px 5px; border-bottom:1px solid #EEEEEE;color:#444444; font-size:11px">
                <b>Duration:</b> 57 minutes
        </td>
        <td width="130" style="font-family: Arial, sans-serif; font-size: 13px; vertical-align:top;padding:10px 5px 10px 5px; border-bottom:1px solid #EEEEEE;color:#444444; font-size:11px">
                <b>Tests:</b> 1 of 116 failed
        </td>
        <td width="80" style="font-family: Arial, sans-serif; font-size: 13px; vertical-align:top;padding:10px 5px 10px 5px; border-bottom:1px solid #EEEEEE;font-size:11px">
                <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-JOB1-382/log">Logs</a> | <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-JOB1-382/artifact">Artifacts</a>
        </td>
    </tr>
        </table>
        <br/>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/commit/" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Code Changes</a>
            </td>
            <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
                <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/commit/" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">See full change details</a><img src="http://bamboo.asterisk.org/images/icons/more.gif" width="15" height="15" style="vertical-align:middle;padding:2px">
            </td>
        </tr>
   </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr><td width="20" style="vertical-align:top;padding:10px 0 0px 10px">
                        <img src="http://bamboo.asterisk.org/images/icons/businessman.gif" width="15" height="15">
                    </td>
                    <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;vertical-align:top;padding:10px 10px 0px 10px">
                        <a href="http://bamboo.asterisk.org/browse/author/rmudgett" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           rmudgett</a><br>
                        Merged revisions 295866 via svnmerge from <br/>
<a href="https://origsvn.digium.com/svn/asterisk/branches/1.8">https://origsvn.digium.com/svn/asterisk/branches/1.8</a><br/>
<br/>
................<br/>
&nbsp;&nbsp;r295866 | rmudgett | 2010-11-22 13:36:10 -0600 (Mon, 22 Nov 2010) | 60 lines<br/>
&nbsp;&nbsp;<br/>
&nbsp;&nbsp;Merged revisions 295843 via svnmerge from <br/>
&nbsp;&nbsp;<a href="https://origsvn.digium.com/svn/asterisk/branches/1.6.2">https://origsvn.digium.com/svn/asterisk/branches/1.6.2</a><br/>
&nbsp;&nbsp;<br/>
&nbsp;&nbsp;................<br/>
&nbsp;&nbsp;&nbsp;&nbsp;r295843 | rmudgett | 2010-11-22 13:28:23 -0600 (Mon, 22 Nov 2010) | 53 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;Merged revisions 295790 via svnmerge from <br/>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://origsvn.digium.com/svn/asterisk/branches/1.4">https://origsvn.digium.com/svn/asterisk/branches/1.4</a><br/>
&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;........<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r295790 | rmudgett | 2010-11-22 12:46:26 -0600 (Mon, 22 Nov 2010) | 46 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The channel redirect function (CLI or AMI) hangs up the call instead of redirecting the call.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To recreate the problem:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1) Party A calls Party B<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2) Invoke CLI &quot;channel redirect&quot; command to redirect channel call leg<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;associated with A.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3) All associated channels are hung up.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note that if the CLI command were done on the channel call leg associated<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;with B it works.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This regression was a result of the fix for issue #16946<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<a href="https://reviewboard.asterisk.org/r/740/">https://reviewboard.asterisk.org/r/740/</a>).<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The regression affects all features that use an async goto to execute the<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dialplan because of an external event: Channel redirect, AMI redirect, SIP<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REFER, and FAX detection.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The struct ast_channel._softhangup code is a mess.&nbsp; The variable is used<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for several purposes that do not necessarily result in the call being hung<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;up.&nbsp; I have added doxygen comments to describe how the various _softhangup<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bits are used.&nbsp; I have corrected all the places where the variable was<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tested in a non-bit oriented manner.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The primary fix is the new AST_CONTROL_END_OF_Q frame.&nbsp; It acts as a weak<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hangup request so the soft hangup requests that do not normally result in<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a hangup do not hangup.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JIRA SWP-2470<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;JIRA SWP-2489<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18171)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: SantaFox<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18185)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: kwemheuer<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18211)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: zahir_koradia<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18230)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: vmarrone<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18299)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: mbrevda<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18322)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: nerbos<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Review:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://reviewboard.asterisk.org/r/1013/">https://reviewboard.asterisk.org/r/1013/</a><br/>
&nbsp;&nbsp;&nbsp;&nbsp;........<br/>
&nbsp;&nbsp;................<br/>
................<br/>

                    </td>
                    <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                         (295867)
                    </td></tr>
    </table><br>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
                <tr>
                    <td width="60%" style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;vertical-align:top;padding:5px 10px">
                        <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/test" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Tests</a>
                    </td>
                    <td width="40%" style="font-family: Arial, sans-serif;text-align:right;font-size:13px;color:#036;padding:5px 10px">
                        <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382/test" style="font-family: Arial, sans-serif; font-size: 13px;color:#036">See full test details</a><img src="http://bamboo.asterisk.org/images/icons/more.gif" width="15" height="15" style="vertical-align:middle;padding:2px">
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="2" width="100%" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000;vertical-align:top;padding:10px 0 0 10px">
                New Test Failures (1)
            </td>
        </tr>
<tr>
<td width="20" style="vertical-align:top;padding:5px 0 5px 10px">
<img src="http://bamboo.asterisk.org/images/jt/icn_plan_failed.gif" width="15" height="15">
</td>
<td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#000;vertical-align:top;padding:5px 10px">
AsteriskTestSuite :
<a href="http://bamboo.asterisk.org/browse/AST-TRUNK-JOB1-382/test/case/622649" style="font-family: Arial, sans-serif; font-size: 13px;color:#000">Chanspy/chanspy barge</a>
<a href="http://bamboo.asterisk.org/browse/AST-TRUNK-JOB1-382/test" style="font-family: Arial, sans-serif; font-size: 13px;color:#999">(Asterisk Job)</a>
</td>
</tr>            </table><br>

    </td>
    <td width="150" style="vertical-align:top">
    <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#ecf1f7;border-top:1px solid #bbd0e5;border-bottom:1px solid #bbd0e5;color:#036;">
        <tr>
            <td style="font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036;vertical-align:top;padding:5px 10px">
                Actions
            </td>
        </tr>
    </table>
    <table width="150" border="0" cellpadding="0" cellspacing="0" style="background-color:#f5f9fc;border-bottom:1px solid #bbd0e5;">
        <tr>
            <td style="font-family: Ariel, sans-serif; font-size: 13px; color:#036;vertical-align:top;padding:5px 10px;line-height:1.7">
    <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
    <br>
    <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-382?commentMode=true" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Add Comments</a>
    <br>
            </td>
        </tr>
    </table>
    </td>
</tr>
<tr>
    <td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr><td colspan="2" align="center" style="font-family: Arial, sans-serif;text-align:center;font-size:11px;font-weight:bold;color:#999;vertical-align:top;padding:20px">
        Email generated by <a href="http://bamboo.asterisk.org" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">Atlassian Bamboo</a> - if you wish to stop receiving these emails edit your  <a href="http://bamboo.asterisk.org/profile/userNotifications.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">user profile</a> or <a href="http://bamboo.asterisk.org/viewAdministrators.action" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">notify your administrator</a>
    </td>
    </tr>
</table>
    </td>
</tr>
</table>
</font>
</div>