<p style="white-space: pre-wrap; word-wrap: break-word;">Wouldn't it be better to make Dial tolerant of empty dial strings and empty list positions?<br>For example:<br>Dial(,20,g)<br>Dial(PJSIP/101&,20,g)<br>Dial(PJSIP/101&&PJSIP/102,20,g)</p><p style="white-space: pre-wrap; word-wrap: break-word;">It would certainly simplify a lot of dialplan that has to check for these conditions.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If there winds up being no endpoints to dial then Dial continues in dialplan as if the endpoint didn't answer with DIALSTATUS set to NOANSWER or maybe a new value like NOENDPOINT or NODESTINATION.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13349">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13349">change 13349</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/+/13349"/><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: I1709ee211705edac4d93f55723b8153bb653a338 </div>
<div style="display:none"> Gerrit-Change-Number: 13349 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: cmaj <chris@penguinpbx.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 03 Dec 2019 22:37:02 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>