<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19613">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sig_analog: Fix no timeout duration.<br><br>ASTERISK_28702 previously attempted to fix an<br>issue with flash hook hold timing out after<br>just under 17 minutes, when it should have never<br>been timing out. It fixed this by changing 999999<br>to INT_MAX, but it did so in chan_dahdi, which<br>is the wrong place since ss_thread is now in<br>sig_analog and the one in chan_dahdi is mostly<br>dead code.<br><br>This fixes this by porting the fix to sig_analog.<br><br>ASTERISK-30336 #close<br><br>Change-Id: I05eb69cc0b5319d357842a70bd26ef64d145cb15<br>---<br>M channels/sig_analog.c<br>1 file changed, 23 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/13/19613/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/sig_analog.c b/channels/sig_analog.c</span><br><span>index ccc14a8..b694a96 100644</span><br><span>--- a/channels/sig_analog.c</span><br><span>+++ b/channels/sig_analog.c</span><br><span>@@ -2138,7 +2138,7 @@</span><br><span> /* If starting a threeway call, never timeout on the first digit so someone</span><br><span> can use flash-hook as a "hold" feature */</span><br><span> if (p->subs[ANALOG_SUB_THREEWAY].owner) {</span><br><span style="color: hsl(0, 100%, 40%);">- timeout = 999999;</span><br><span style="color: hsl(120, 100%, 40%);">+ timeout = INT_MAX;</span><br><span> }</span><br><span> while (len < AST_MAX_EXTENSION-1) {</span><br><span> int is_exten_parking = 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19613">change 19613</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/19613"/><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-Change-Id: I05eb69cc0b5319d357842a70bd26ef64d145cb15 </div>
<div style="display:none"> Gerrit-Change-Number: 19613 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>