<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8637">View Change</a></p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p>(4 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/8637/1/UPGRADE.txt">File UPGRADE.txt:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8637/1/UPGRADE.txt@53">Patch Set #1, Line 53:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_dahdi:<br> - Timeouts for reading digits from analog phones are now configurable in<br>   chan_dahdi.conf: firstdigit_timeout, gendigit_timeout, matchdigit_timeout.<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Should put this in the Asterisk 16 section of CHANGES also.</p></li></ul></li><li><p><a href="https://gerrit.asterisk.org/#/c/8637/1/channels/chan_dahdi.c">File channels/chan_dahdi.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8637/1/channels/chan_dahdi.c@557">Patch Set #1, Line 557:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">#define DEFAULT_FIRST_DIGIT_TIMEOUT 16000<br>#define DEFAULT_GEN_DIGIT_TIMEOUT        8000<br>#define DEFAULT_MATCH_DIGIT_TIMEOUT       3000<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Move these defines into sig_analog.h so both chan_dahdi.c and sig_analog.c will have access to the defines.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Should prefix the defines with ANALOG_ like nearly everything else in sig_analog.h and add doxygen comments per below:</p><p style="white-space: pre-wrap; word-wrap: break-word;">/*! \brief Default time in ms for first digit (FXO logic) */<br>#define ANALOG_DEFAULT_FIRST_DIGIT_TIMEOUT 16000<br>/*! \brief Default time in ms to wait for following digits (FXO logic) */<br>#define ANALOG_DEFAULT_GEN_DIGIT_TIMEOUT      8000<br>/*! \brief Default time in ms to wait for an extra digit, if there is an ambiguous match */<br>#define ANALOG_DEFAULT_MATCH_DIGIT_TIMEOUT   3000</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8637/1/channels/chan_dahdi.c@3337">Patch Set #1, Line 3337:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">get_pvt_field_callback(int, firstdigit_timeout, 0);<br>get_pvt_field_callback(int, matchdigit_timeout, 0);<br>get_pvt_field_callback(int, gendigit_timeout, 0);<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Instead of zero, the default value defines should be used.</p></li></ul></li><li><p><a href="https://gerrit.asterisk.org/#/c/8637/1/channels/sig_analog.c">File channels/sig_analog.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8637/1/channels/sig_analog.c@227">Patch Set #1, Line 227:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">analog_get_field_callback(int, firstdigit_timeout, 0);<br>analog_get_field_callback(int, matchdigit_timeout, 0);<br>analog_get_field_callback(int, gendigit_timeout, 0);<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Instead of zero, the default value defines should be used.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8637">change 8637</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8637"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ib728fa900a4f6ae56d1ed810aba61b6593fb7213 </div>
<div style="display:none"> Gerrit-Change-Number: 8637 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tzafrir Cohen <tzafrir.cohen@xorcom.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 10 Apr 2018 16:36:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>