<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}
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-TRUNKOPENBSD-99/" style="font-family: Arial, sans-serif; font-size: 15px; font-weight:bold; color:#d62829">AST-TRUNKOPENBSD-99</a>
            <span class="failed" style="font-family: Arial, sans-serif; font-size: 14px;">failed.</span>
            <span class="failed" style="font-family: Arial, sans-serif; font-size: 13px;">
            <br/>    This build occured because it is a dependant of <a href="http://bamboo.asterisk.org/browse/AST-TRUNK-317">AST-TRUNK-317</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/AST-TRUNKOPENBSD-99/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-TRUNKOPENBSD-99/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/kpfleming" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           Kevin P. Fleming</a><br>
                        Improve handling of T.38 re-INVITEs that arrive before a T.38-capable<br/>
application is executing on a channel.<br/>
<br/>
This patch addresses an issue found during working with end-users<br/>
using res_fax. If an incoming call is answered in the dialplan, or<br/>
jumps to the 'fax' extension due to reception of a CNG tone (with<br/>
faxdetect enabled), and then the remote endpoint sends a T.38<br/>
re-INVITE, it is possible for the channel's T.38 state to be<br/>
'T38_STATE_NEGOTIATING' when the application starts up. Unfortunately,<br/>
even if the application wants to use T.38, it can't respond to the<br/>
peer's negotiation request, because the AST_CONTROL_T38_PARAMETERS<br/>
control frame that chan_sip sent originally has been lost, and the<br/>
application needs the content of that frame to be able to formulate a<br/>
reply.<br/>
<br/>
This patch adds a new 'request' type to AST_CONTROL_T38_PARAMETERS,<br/>
AST_T38_REQUEST_PARMS. If the application sends this request, chan_sip<br/>
will re-send the original control frame (with<br/>
AST_T38_REQUEST_NEGOTIATE as the request type), and the application<br/>
can respond as normal. If this occurs within the five second timeout<br/>
in chan_sip, the automatic cancellation of the peer reinvite will be<br/>
stopped, and the application will 'own' the negotiation process from<br/>
that point onwards.<br/>
<br/>
This also improves the code path in chan_sip to allow sip_indicate(),<br/>
when called for AST_CONTROL_T38_PARAMETERS, to be able to return a<br/>
non-zero response, which should have been in place before since the<br/>
control frame *can* fail to be processed properly. It also modifies<br/>
ast_indicate() to return whatever result the channel driver returned<br/>
for this control frame, rather than converting all non-zero results<br/>
into '-1'. Finally, the new request type intentionally returns a<br/>
positive value, so that an application that sends<br/>
AST_T38_REQUEST_PARMS can know for certain whether the channel driver<br/>
accepted it and will be replying with a control frame of its own, or<br/>
whether it was ignored (if the sip_indicate()/ast_indicate() path had<br/>
properly supported failure responses before, this would not be<br/>
necessary).<br/>
<br/>
This patch also modifies res_fax to take advantage of the new request.<br/>
<br/>
In addition, this patch makes sip_t38_abort() actually lock the<br/>
private structure before doing its work... bad programmer, no donut.<br/>
<br/>
This patch also enhances chan_sip's 'faxdetect' support to allow<br/>
triggering on T.38 re-INVITEs received as well as CNG tone detection.<br/>
<br/>
Review: <a href="https://reviewboard.asterisk.org/r/556/">https://reviewboard.asterisk.org/r/556/</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">
                         (254450)
                    </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/lmadsen" style="font-family: Arial, sans-serif; font-size: 13px; font-weight:bold; color:#000">
                           Leif Madsen</a><br>
                        handle_speechset has 4 arguments.<br/>
<br/>
Update code to reflect that handle_speechset has 4 arguments.<br/>
<br/>
(closes issue #17093)<br/>
Reported by: gpatri<br/>
Patches: <br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;res_agi.patch uploaded by gpatri (license 1014)<br/>
Tested by: pabelanger, mmichelson
                    </td>
                    <td width="60" style="font-family: Arial, sans-serif; font-size: 13px; ;color:#036;vertical-align:top;padding:10px 10px 0px 10px">
                         (254446)
                    </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-TRUNKOPENBSD-99/log" style="text-decoration: none; font-family: Arial, sans-serif;text-align:left;font-size:16px;font-weight:bold;color:#036" >Error Summary</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-TRUNKOPENBSD-99/log" style="font-family: Arial, sans-serif; font-size: 13px;color:#036">See full build log</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" style="background-color:#f2f2f2;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;color:#000;margin-top:5px;padding:10px">
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    build_tools/make_version[79]: {print $2;}: not found<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    build_tools/make_version[79]: URL: not found<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    svn: Write error: Broken pipe<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /bin/sh: /bin/sh: - : unknown option<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Package gtk+-2.0 was not found in the pkg-config search path<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    Package gtk+-2.0 was not found in the pkg-config search path<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    menuselect.o(.text+0x3123): In function `generate_makeopts_file':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/menuselect/menuselect.c:1215: warning: strcpy() is almost always misused, please use strlcpy()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    mxml/libmxml.a(mxml-file.o)(.text+0x2669): In function `mxml_write_node':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/menuselect/mxml/mxml-file.c:2664: warning: sprintf() is often misused, please use snprintf()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /usr/lib/libstdc++.so.47.0: warning: strcpy() is almost always misused, please use strlcpy()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /usr/lib/libstdc++.so.47.0: warning: strcat() is almost always misused, please use strlcat()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    utils.o(.text+0xfb1): In function `__ast_string_field_ptr_build_va':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/main/utils.c:1724: warning: vsprintf() is often misused, please use vsnprintf()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    app.o(.text+0x13ac): In function `ast_app_group_set_channel':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/main/app.c:1056: warning: strcpy() is almost always misused, please use strlcpy()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    app.o(.text+0xc3f): In function `ast_control_streamfile':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/main/app.c:546: warning: strcat() is almost always misused, please use strlcat()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    ast_expr2.o(.text+0x2dd7): In function `op_eq':<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /srv/bamboo/xml-data/build-dir/AST-TRUNKOPENBSD/main/ast_expr2.y:635: warning: sprintf() is often misused, please use snprintf()<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    /usr/bin/ld: final link failed: No space left on device<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    collect2: ld returned 1 exit status<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    gmake[1]: *** [asterisk] Error 1<br/>
                </td>
                </tr>
               <tr>
                <td width="100%" style="font-family:'Courier New', Courier, monospace; font-size: 12px; color:#000;vertical-align:top">
                    gmake: *** [main] Error 2<br/>
                </td>
                </tr>
            </table>
            <br />

        <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;padding-bottom:10px">
                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>
            <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">
                <a href="http://www.atlassian.com/software/ideconnector/" style="font-family: Arial, sans-serif; font-size: 11px; color:#999">Want this information in your IDE?</a>
            </td></tr>
        </table>
    </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-TRUNKOPENBSD-99/" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Online</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/browse/AST-TRUNKOPENBSD-99/comment" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Add Comments</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/browse/AST-TRUNKOPENBSD-99/artifact" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">View Artifacts</a>
                    <br>
                    <a href="http://bamboo.asterisk.org/download/AST-TRUNKOPENBSD/build_logs/AST-TRUNKOPENBSD-99.log" style="font-family: Arial, sans-serif; font-size: 13px; color:#036">Download Logs</a>
                    <br>
                </td>
            </tr>
        </table>
    </td>
<tr>
</table>
</font>
</div>