<p>N A <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18521">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_dial: Fix dial status regression.<br><br>ASTERISK_28638 caused a regression by incorrectly aborting<br>early and overwriting the status on certain calls.<br>This was exhibited by certain technologies such as DAHDI,<br>where DAHDI returns NULL for the request if a line is busy.<br>This caused the BUSY condition to be incorrectly treated<br>as CHANUNAVAIL because the DIALSTATUS was getting incorrectly<br>overwritten and call handling was aborted early.<br><br>This is fixed by instead checking if any valid peers have been<br>specified, as opposed to checking the list size of successful<br>requests. This is because the latter could be empty but this<br>does not indicate any kind of problem. This restores the<br>previous working behavior.<br><br>ASTERISK-29989 #close<br><br>Change-Id: I4d4b209b967816b1bc791534593ababa2b99bb88<br>---<br>M apps/app_dial.c<br>1 file changed, 8 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/21/18521/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18521">change 18521</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/+/18521"/><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: I4d4b209b967816b1bc791534593ababa2b99bb88 </div>
<div style="display:none"> Gerrit-Change-Number: 18521 </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-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>