<p>Ivan Poddubny has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15428">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Fix conversion of complex extension states into device states<br><br>Queue members using dialplan hints as a state interface must handle<br>INUSE+RINGING hint as RINGINUSE devstate, and INUSE + ONHOLD as INUSE.<br><br>ASTERISK-28369<br><br>Change-Id: I127e06943d4b4f1afc518f9e396de77449992b9f<br>---<br>M apps/app_queue.c<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/15428/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 db98cea..eddf5c7 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -2605,9 +2605,15 @@</span><br><span> case AST_EXTENSION_RINGING:</span><br><span> state = AST_DEVICE_RINGING;</span><br><span> break;</span><br><span style="color: hsl(120, 100%, 40%);">+ case AST_EXTENSION_INUSE | AST_EXTENSION_RINGING:</span><br><span style="color: hsl(120, 100%, 40%);">+ state = AST_DEVICE_RINGINUSE;</span><br><span style="color: hsl(120, 100%, 40%);">+ break;</span><br><span> case AST_EXTENSION_ONHOLD:</span><br><span> state = AST_DEVICE_ONHOLD;</span><br><span> break;</span><br><span style="color: hsl(120, 100%, 40%);">+ case AST_EXTENSION_INUSE | AST_EXTENSION_ONHOLD:</span><br><span style="color: hsl(120, 100%, 40%);">+ state = AST_DEVICE_INUSE;</span><br><span style="color: hsl(120, 100%, 40%);">+ break;</span><br><span> case AST_EXTENSION_UNAVAILABLE:</span><br><span> state = AST_DEVICE_UNAVAILABLE;</span><br><span> break;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15428">change 15428</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/+/15428"/><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: I127e06943d4b4f1afc518f9e396de77449992b9f </div>
<div style="display:none"> Gerrit-Change-Number: 15428 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Ivan Poddubny <ivan.poddubny@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>