<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:#e4f5e3;border-top:1px solid #b4e2b4;border-bottom:1px solid #b4e2b4;color:#393;">
                        <tr>
                                <td width="20" style="vertical-align:top;padding:5px 0 5px 10px">
                                        <img src="http://bamboo.asterisk.org/images/iconsv3/plan_successful_16.png" width="15" height="15">
                                </td>
                                <td width="100%" style="font-family: Arial, sans-serif; font-size: 13px; color:#393;padding:5px 10px">
<a href="http://bamboo.asterisk.org/browse/TESTING/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">Asterisk Testing</a> >
<a href="http://bamboo.asterisk.org/browse/TESTING-ASTERISK18BRANCH/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">Asterisk 1.8 Branch</a> >
<a href="http://bamboo.asterisk.org/browse/TESTING-ASTERISK18BRANCH-21/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#393">#21</a>
                                        <span class="successful" style="font-family: Arial, sans-serif; font-size: 14px;"> was successful.</span>
<span class="successful" style="font-family: Arial, sans-serif; font-size: 13px;">
<br/>Code has been updated by <a href="http://bamboo.asterisk.org/browse/user/mmichelson">Mark Michelson</a>.
<br/>All <strong>2</strong> jobs passed with <strong>325</strong> tests in total. </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/TESTING-ASTERISK18BRANCH-21/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/TESTING-ASTERISK18BRANCH-21/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/user/mmichelson" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
Mark Michelson</a><br>
Fix race condition that can cause important control frames (such as a hangup) to be missed.<br/>
<br/>
This takes two actions.<br/>
<br/>
1. Move the reading of the alertpipe in __ast_read() to immediately before the<br/>
removal of frames from the readq. This means we won't do something silly like<br/>
read from the alertpipe, then ignore the fact that there's a frame to get from<br/>
the readq since channel's fdno is the AST_TIMING_FD.<br/>
<br/>
2. When ast_settimeout() sets the rate to 0 and the timingfunc to NULL, if the<br/>
channel's fdno is the AST_TIMING_FD, then set the fdno to -1. This is because<br/>
if the rate is 0 and the timingfunc is NULL, it means that the channel's timing<br/>
fd is being invalidated, so any pending reads should not occur.<br/>
<br/>
This may actually solve more issues than the referenced one below, but it's not<br/>
known at this time for sure.<br/>
<br/>
(closes issue ASTERISK-19223)<br/>
reported by Frank-Michael Wittig<br/>
<br/>
Review: <a href="https://reviewboard.asterisk.org/r/1779">https://reviewboard.asterisk.org/r/1779</a><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">
(357761)
</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/TESTING-ASTERISK18BRANCH-21" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
<br>
<a href="http://bamboo.asterisk.org/browse/TESTING-ASTERISK18BRANCH-21?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>