<p>Richard Mudgett <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13516">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_chanisavail.c: Simplify dialplan using ChanIsAvail.<br><br>Dialplan has to be careful about passing an empty device list or empty<br>positions in the list.  As a result, dialplan has to check for these<br>conditions before using ChanIsAvail.  Simplify dialplan by making<br>ChanIsAvail handle these conditions gracefully.<br><br>* Made tolerate empty positions in the device list.<br><br>* Simplified the code and eliminated some unnecessary indention.<br><br>ASTERISK-28638<br><br>Change-Id: I9e4b67e2cbf26b2417c2d03485b8568e898931d3<br>---<br>M apps/app_chanisavail.c<br>A doc/CHANGES-staging/app_chanisavail_empty_device_list.txt<br>2 files changed, 79 insertions(+), 69 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/16/13516/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13516">change 13516</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/+/13516"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I9e4b67e2cbf26b2417c2d03485b8568e898931d3 </div>
<div style="display:none"> Gerrit-Change-Number: 13516 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>