<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19597">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><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;"><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/+/19597">change 19597</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/+/19597"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I05eb69cc0b5319d357842a70bd26ef64d145cb15 </div>
<div style="display:none"> Gerrit-Change-Number: 19597 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>