<p>Evandro César Arruda has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14805">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Member lastpause time reseting<br><br>This fixes the reseting members lastpause problem when realtime members is being used,<br>the function rt_handle_member_record was forcing the reset members lastpause because it<br>does not exist in realtime<br><br>ASTERISK-29034 #close<br><br>Change-Id: Ic9107e4456732a1f78412a32adb2ef87f5da40b5<br>---<br>M apps/app_queue.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/05/14805/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index 19622fd..ba206eb 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -3458,7 +3458,7 @@</span><br><span> ast_copy_string(m->rt_uniqueid, rt_uniqueid, sizeof(m->rt_uniqueid));</span><br><span> if (paused_str) {</span><br><span> m->paused = paused;</span><br><span style="color: hsl(0, 100%, 40%);">- if (paused) {</span><br><span style="color: hsl(120, 100%, 40%);">+ if (paused && m->lastpause == 0) {</span><br><span> time(&m->lastpause); /* XXX: Should this come from realtime? */</span><br><span> }</span><br><span> ast_devstate_changed(m->paused ? QUEUE_PAUSED_DEVSTATE : QUEUE_UNPAUSED_DEVSTATE,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14805">change 14805</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/+/14805"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: Ic9107e4456732a1f78412a32adb2ef87f5da40b5 </div>
<div style="display:none"> Gerrit-Change-Number: 14805 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Evandro César Arruda <ecarruda@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>