<p> Attention is currently required from: N A, George Joseph. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/16121">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">Patchset:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16121?tab=comments">Patch Set #1:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Are you referring to dialplan parsing of the priorities here? I'm a bit confused, because the stuff  […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I am talking about if the While test is false the *very* first time on the channel executing dialplan.  The EndWhile has not executed for the While to know where to goto in the dialplan.  If the While loop has executed once, the code has executed an EndWhile so the While knows where to goto in the dialplan when the test becomes false.</p><p style="white-space: pre-wrap; word-wrap: break-word;">same = n,before-loop-dialplan<br>same = n,While(test-is-false-first-time)<br>same = n,loop-body-dialplan<br>same = n,EndWhile()<br>same = n,after-loop-dialplan</p><p style="white-space: pre-wrap; word-wrap: break-word;">If EndWhile has never been executed after the loop-body-dialplan code on this channel then While does not know where EndWhile is in dialplan to goto after-loop-dialplan when the While test is false.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If the While test allows at least one loop iteration, the While code remembers the dialplan location where While is located.  When it executes the EndWhile application it remembers where that dialplan location is so any subsequent While or ExitWhile execution knows where to goto in the dialplan for the loop.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16121">change 16121</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/+/16121"/><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: I3aa3bd35a5add82465c6ee9bd86b64601f0e1f49 </div>
<div style="display:none"> Gerrit-Change-Number: 16121 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </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-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-CC: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Attention: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 06 Jul 2021 17:55:22 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Comment-In-Reply-To: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>