<p>N A <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18308">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_dahdi: Don't allow MWI FSK if channel not idle.<br><br>For lines that have mailboxes configured on them, with<br>FSK MWI, DAHDI will periodically try to dispatch FSK<br>to update MWI. However, this is never supposed to be<br>done when a channel is not idle.<br><br>There is currently an edge case where MWI FSK can<br>extraneously get spooled for the channel if a caller<br>hook flashes and hangs up, which triggers a recall ring.<br>After one ring, the on hook time threshold in this if<br>condition has been satisfied and an MWI update is spooled.<br>This means that when the phone is picked up again, the<br>answerer gets an FSK spill before being reconnected to<br>the party on hold.<br><br>To prevent this, we now explicitly check to ensure that<br>subchannel 0 has no owner. There is no owner when DAHDI<br>channels are idle, but if the channel is "in use" in some<br>way (such as in the aforementioned scenario), then there<br>is an owner, and we shouldn't process MWI at this time.<br><br>ASTERISK-28518 #close<br><br>Change-Id: Ia3904434fd81688d71742f7e84358b7e1c38e92a<br>---<br>M channels/chan_dahdi.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/08/18308/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18308">change 18308</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/+/18308"/><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: Ia3904434fd81688d71742f7e84358b7e1c38e92a </div>
<div style="display:none"> Gerrit-Change-Number: 18308 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>