<p> Attention is currently required from: Joshua Colp, Mark Murawski. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/15893">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/+/15893?tab=comments">Patch Set #7:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Great feedback.  Thank you.  We will investigate.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">What would be a good methodical way to test this type of thing?</p><p style="white-space: pre-wrap; word-wrap: break-word;">I ran some stress tests per the following, and nothing bad ever seems to happen.<br>The test synchronizes the two channels as much as possible to increase the chances of simultaneous access, but of course it may be hard to guarantee if that's only a split second access window to begin with:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[test]<br>exten => s,1,Set(GLOBAL(c1)=${CHANNEL})<br>        same => n,Set(GLOBAL(time2)=$[${EPOCH}+4])<br>        same => n,Answer()<br>        same => n,WaitUntil(${time2})<br>        same => n,Set(c=0)<br>        same => n,While($[${INC(c)}<10000])<br>        same => n,NoOp(c1: ${c})<br>        same => n,Set(OTHER_CHANNEL(CDR(test),${c2})=12)<br>        same => n,EndWhile()<br>        same => n,Wait(1)<br>        same => n,Hangup()</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">[test2]<br>exten => s,1,Set(GLOBAL(c2)=${CHANNEL})<br>        same => n,Answer()<br>        same => n,WaitUntil(${time2})<br>        same => n,Set(c=0)<br>        same => n,While($[${INC(c)}<10000])<br>        same => n,NoOp(c2: ${c})<br>        same => n,Set(OTHER_CHANNEL(CDR(test),${c1})=12)<br>        same => n,EndWhile()<br>        same => n,Wait(1)<br>        same => n,Hangup()</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15893">change 15893</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/+/15893"/><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: I7492645ae4307553d0f586d78e13a4f586231fdf </div>
<div style="display:none"> Gerrit-Change-Number: 15893 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </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-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 12 Feb 2022 13:30:17 +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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Comment-In-Reply-To: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Comment-In-Reply-To: Mark Murawski <markm@intellasoft.net> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>