<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10844">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Fix crash when using 'b' option on non-ringall queue.<br><br>When using the 'b' option to Queue with a queue that was not configured<br>for ring all a crash would occur as the wrong pointer would be used.<br><br>ASTERISK-28218<br><br>Change-Id: If1390f64e321047dff24fd2410c95dde74904980<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;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index 264b54f..60be305 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -4667,7 +4667,7 @@</span><br><span>                    /* Ring just the best channel */</span><br><span>                     ast_debug(1, "Trying '%s' with metric %d\n", best->interface, best->metric);</span><br><span>                         ret = ring_entry(qe, best, busies);</span><br><span style="color: hsl(0, 100%, 40%);">-                     if (qe->predial_callee && cur->chan) {</span><br><span style="color: hsl(120, 100%, 40%);">+                  if (qe->predial_callee && best->chan) {</span><br><span>                                ast_autoservice_start(best->chan);</span><br><span>                        }</span><br><span>            }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10844">change 10844</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/10844"/><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-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: If1390f64e321047dff24fd2410c95dde74904980 </div>
<div style="display:none"> Gerrit-Change-Number: 10844 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua C. Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>