<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/ASTTRUNK/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">Asterisk - Trunk</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/ASTTRUNK-FREEBSD81/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">FreeBSD 8.1</a> &gt;
      <a href="http://bamboo.asterisk.org/browse/ASTTRUNK-FREEBSD81-140/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">#140</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/>    This build occurred because it is a dependant of <a href="http://bamboo.asterisk.org/browse/ASTTRUNK-LUCID-248">ASTTRUNK-LUCID-248</a>.
                            <br/>No failed tests found, a possible compilation error.
                    </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/ASTTRUNK-FREEBSD81-140/" 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/ASTTRUNK-FREEBSD81-I386-140/"  style="color:red;">i386</a>
             <span style="color:#444444; font-size:11px; font-style:italic;">(Default Stage)</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> 1 minute
        </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> No tests found
        </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/ASTTRUNK-FREEBSD81-I386-140/log">Logs</a> | <a href="http://bamboo.asterisk.org/browse/ASTTRUNK-FREEBSD81-I386-140/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/ASTTRUNK-FREEBSD81-140/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/ASTTRUNK-FREEBSD81-140/commit/" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View all 4 code changes</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/user/mnicholson" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           Matthew Nicholson</a><br>
                        According to section 19.1.2 of RFC 3261:<br/>
<br/>
&nbsp;&nbsp;For each component, the set of valid BNF expansions defines exactly<br/>
&nbsp;&nbsp;which characters may appear unescaped.&nbsp; All other characters MUST be<br/>
&nbsp;&nbsp;escaped.<br/>
<br/>
This patch modifies ast_uri_encode() to encode strings in line with this recommendation.&nbsp; This patch also adds an ast_escape_quoted() function which escapes '&quot;' and '&#92;' characters in quoted strings in accordance with section 25.1 of RFC 3261.&nbsp; The ast_uri_encode() function has also been modified to take an ast_flags struct describing the set of rules it should use when escaping characters to allow for it to escape SIP URIs in addition to HTTP URIs and other types of URIs or variations of those two URI types in the future.<br/>
<br/>
The ast_uri_decode() function has also been modified to accept an ast_flags struct describing the set of rules to use when decoding to enable decoding '+' as ' ' in legacy http URLs.<br/>
<br/>
The unit tests for these functions have also been updated.<br/>
<br/>
ABE-2705<br/>
<br/>
Review: <a href="https://reviewboard.asterisk.org/r/1081/">https://reviewboard.asterisk.org/r/1081/</a><br/>

                    </td>
                    <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                         (303509)
                    </td></tr>
                <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/qwell" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           qwell</a><br>
                        Merged revisions 303467 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;r303467 | qwell | 2011-01-24 11:20:03 -0600 (Mon, 24 Jan 2011) | 22 lines<br/>
&nbsp;&nbsp;<br/>
&nbsp;&nbsp;Merged revisions 303285 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;r303285 | qwell | 2011-01-21 15:48:09 -0600 (Fri, 21 Jan 2011) | 15 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;Merged revisions 303284 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;r303284 | qwell | 2011-01-21 15:45:34 -0600 (Fri, 21 Jan 2011) | 8 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset configuration before parsing users.conf.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Some values configured in chan_dahdi.conf were able to leak in to users.conf<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;configuration.&nbsp; This was surprising users, and potentially setting non-sane<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;defaults&quot;.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ASTNOW-125<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">
                         (303468)
                    </td></tr>
                <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/user/russell" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           Russell Bryant</a><br>
                        Merged revisions 303549 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;r303549 | russell | 2011-01-24 14:51:37 -0600 (Mon, 24 Jan 2011) | 45 lines<br/>
&nbsp;&nbsp;<br/>
&nbsp;&nbsp;Merged revisions 303548 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;r303548 | russell | 2011-01-24 14:49:53 -0600 (Mon, 24 Jan 2011) | 38 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;Merged revisions 303546 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;r303546 | russell | 2011-01-24 14:32:21 -0600 (Mon, 24 Jan 2011) | 31 lines<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fix channel redirect out of MeetMe() and other issues with channel softhangup.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mantis issue #18585 reports that a channel redirect out of MeetMe() stopped<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;working properly.&nbsp; This issue includes a patch that resolves the issue by<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;removing a call to ast_check_hangup() from app_meetme.c.&nbsp; I left that in my<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;patch, as it doesn't need to be there.&nbsp; However, the rest of the patch fixes<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this problem with or without the change to app_meetme.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The key difference between what happens before and after this patch is the<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;effect of the END_OF_Q control frame.&nbsp; After END_OF_Q is hit in ast_read(),<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ast_read() will return NULL.&nbsp; With the ast_check_hangup() removed, app_meetme<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sees this which causes it to exit as intended.&nbsp; Checking ast_check_hangup()<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;caused app_meetme to exit earlier in the process, and the target of the<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redirect saw the condition where ast_read() returned NULL.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removing ast_check_hangup() works around the issue in app_meetme, but doesn't<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;solve the issue if another application did the same thing.&nbsp; There are also<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;other edge cases where if an application finishes at the same time that a<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;redirect happens, the target of the redirect will think that the channel hung<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;up.&nbsp; So, I made some changes in pbx.c to resolve it at a deeper level.&nbsp; There<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are already places that unset the SOFTHANGUP_ASYNCGOTO flag in an attempt to<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;abort the hangup process.&nbsp; My patch extends this to remove the END_OF_Q frame<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from the channel's read queue, making the &quot;abort hangup&quot; more complete.&nbsp; This<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;same technique was used in every place where a softhangup flag was cleared.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(closes issue #18585)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reported by: oej<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tested by: oej, wedhorn, russell<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Review: <a href="https://reviewboard.asterisk.org/r/1082/">https://reviewboard.asterisk.org/r/1082/</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">
                         (303551)
                    </td></tr>
            <tr><td colspan="3">
                <br/><a href="http://bamboo.asterisk.org/browse/ASTTRUNK-FREEBSD81-140/commit" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">1 more changes...</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/ASTTRUNK-FREEBSD81-140" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
    <br>
    <a href="http://bamboo.asterisk.org/browse/ASTTRUNK-FREEBSD81-140?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>