<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h4
{mso-style-priority:9;
mso-style-link:"Heading 4 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.m-3176177264492581610msolistparagraph, li.m-3176177264492581610msolistparagraph, div.m-3176177264492581610msolistparagraph
{mso-style-name:m_-3176177264492581610msolistparagraph;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.Heading4Char
{mso-style-name:"Heading 4 Char";
mso-style-priority:9;
mso-style-link:"Heading 4";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This makes sense, thank you, although this is applicable to Polycom phones only (I was hoping for a more universal solution, as current phones are not an indicator of phones we may get in the future)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mike<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=FR-CA style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Héctor Royo<br><b>Sent:</b> May 17, 2017 08:55<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] Asterisk 13 queue and DND phones<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi. I will try to give you an idea:<br><br>You can remap de 'Do not disturb' key to do some actions. <o:p></o:p></p></div><p class=MsoNormal><br>(Best examples I've found so far: <a href="http://community.polycom.com/t5/VoIP/FAQ-Using-Enhanced-Feature-Keys-EFK-macros-to-change-key/td-p/5705">http://community.polycom.com/t5/VoIP/FAQ-Using-Enhanced-Feature-Keys-EFK-macros-to-change-key/td-p/5705</a>)<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I once tried to remap de DND on a Polycom IP 550 to something like: <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>key.SPIP550.9.function.prim="^PauseExten$Tinvite$FDoNotDisturb$"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>That would place a call to extension "PauseExten" and also sets the phone on DND.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The extension 'PauseExten' has the dialplan logic to Pause/Unpause the phone. And this executes everytime you press de DND key.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>This "works" but it is not the best solution.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hope it helps. Sorry for my bad english.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2017-05-17 13:22 GMT+01:00 Mike <<a href="mailto:michael@virtutel.ca" target="_blank">michael@virtutel.ca</a>>:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’ve noticed that when I set a phone on DND (phone-side DND, meaning it rejects calls with a busy status, SIP 486 response code I believe) the queue keeps on trying the phone over and over again.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This creates issues in terms of CDR entries – in a scenario where there is only one phone on DND, and a delay between attempts of 1 second, the queue will attempt to ring the single phone every second, creating one CDR entry per second. It also creates one event per second in the queue_log file.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is there any strategy to avoid this? I’m trying to avoid autopause=yes (because them the employee needs to take action when turned DND off - I want the simple act of turning DND off to mean the phone starts ringing again).<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=m-3176177264492581610msolistparagraph>-<span style='font-size:7.0pt'> </span>Can I have an autoUNpause after x seconds?<o:p></o:p></p><p class=m-3176177264492581610msolistparagraph>-<span style='font-size:7.0pt'> </span>Can the queue detect that the phone is returning response code 486, and not ring it for either x second or until the next call?<o:p></o:p></p><p class=m-3176177264492581610msolistparagraph>-<span style='font-size:7.0pt'> </span>Can the CDR engine/queue_log engine be told to not log more than one RINGNOANSWER status? Having one helps, as it tells us the agent was on DND at the time, but having hundreds does not help anyone.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Specifically this is with Polycom phones, but I don’t think it makes a difference.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thank you for taking the time to help me,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>Mike<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'> <o:p></o:p></span></p></div></div><p class=MsoNormal><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" target="_blank">https://community.asterisk.org/</a><br><br>New to Asterisk? Start here:<br> <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><h4 style='margin:0cm;margin-bottom:.0001pt'><span style='font-family:"Arial","sans-serif";color:#595959'>Héctor Royo Concepción<o:p></o:p></span></h4><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959'><o:p> </o:p></span></p></div><p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959'>Tfno: 922 845401 Móvil: 628 568773<o:p></o:p></span></p><p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#595959'><a href="mailto:email@atcan.es" target="_blank"><span style='color:#595959;text-decoration:none'>gestoip2@ull.edu.es</span></a><o:p></o:p></span></p></div><table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;border-top:solid black 1.5pt;border-left:none;border-bottom:solid black 1.5pt;border-right:none'><tr><td style='border:none;padding:7.5pt 0cm 0cm 0cm'><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#595959;border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=100 height=100 id="_x0000_i1025" src="cid:~WRD012.jpg" alt="Image removed by sender. logo_asesoria"></span><span style='font-family:"Arial","sans-serif";color:#595959'><o:p></o:p></span></p></td><td width="20%" style='width:20.0%;border:none;padding:0cm 7.5pt 0cm 0cm'><p align=right style='margin:0cm;margin-bottom:.0001pt;text-align:right'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#595959'>2ª Transversal Dársena Los Llanos<br>Edif. Lanzateide<br>38003 S/C de Tenerife<o:p></o:p></span></p><p align=right style='text-align:right'><span style='font-family:"Arial","sans-serif";color:#595959'><a href="http://www.asesoriatelematicacanarias.es/" target="_blank"><b><span style='font-size:10.0pt;color:#595959;text-decoration:none'>www.asesoriatelematicacanarias.es</span></b></a> <o:p></o:p></span></p></td><td width="10%" style='width:10.0%;border:none;padding:7.5pt 0cm 0cm 0cm'><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#595959;border:solid windowtext 1.0pt;padding:0cm'><img border=0 width=100 height=100 id="_x0000_i1026" src="cid:~WRD012.jpg" alt="Image removed by sender. ISO"></span><span style='font-family:"Arial","sans-serif";color:#595959'><o:p></o:p></span></p></td></tr></table><div style='margin-top:18.75pt'><p><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#66A366'>Antes de imprimir este documento o los archivos anexos, por favor, compruebe que es verdaderamente necesario. El Medio Ambiente es cuestión de todos.<o:p></o:p></span></p><p><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Este mensaje, incluida la información adjunta que pudiera contener, va dirigida exclusivamente a su/s destinatario/s y tiene carácter confidencial. Si ha recibido este mensaje por error, le rogamos que lo notifique inmediatamente al remitente (por esta misma vía o a través del teléfono 928 498 990 y proceda a su eliminación absteniéndose de utilizar, imprimir, reproducir por cualquier medio o divulgar su contenido.<o:p></o:p></span></p><p><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>En cumplimiento de lo dispuesto en la Ley 34/2002 de Servicios de la Sociedad de la Información y de Comercio Electrónico y en la Ley Orgánica 15/1999 de Protección de Datos de Carácter Personal, le informamos que sus datos se encuentran incluidos en el fichero Clientes y Proveedores del que es responsable Asesoría Telemática Canarias S.L. y se utilizan con la finalidad de gestionar la relación comercial que mantiene con esta empresa. Para ejercitar los derechos de acceso, rectificación, cancelación y/u oposición, debe dirigirse por escrito, acompañando copia del documento oficial que le identifique, a Asesoría Telemática Canarias S.L. Ref. Sistemas de Gestión, Calle 2ª Transversal Dársena Los Llanos, Edificio Lanzateide Oficina 34 . Código Postal 38003 de Santa Cruz de Tenerife.<o:p></o:p></span></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>