<html><head><base href="x-msg://39/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Amigo dá uma olhada se vc tem disponível esta função:</div><div><br></div><div><div>[Syntax]</div><div>QUEUE_MEMBER(queuename,option)</div><div><br></div><div>[Arguments]</div><div>option</div><div>&nbsp; &nbsp; logged - Returns the number of logged-in members for the specified</div><div>&nbsp; &nbsp; queue.</div><div>&nbsp; &nbsp; free - Returns the number of logged-in members for the specified</div><div>&nbsp; &nbsp; queue available to take a call.</div><div>&nbsp; &nbsp; count - Returns the total number of members for the specified</div><div>&nbsp; &nbsp; queue.</div><div><br></div></div><div>Vc pode usar a opção logged</div><div>Caso esse cara te retorne 0, não tem ninguém logado pra receber a ligação, daí é tratar...</div><div><br></div><div>Falows</div><div><br></div><br><div><div>Em 17/05/2012, às 11:50, Vinicius Pinto Barbosa escreveu:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#ffffff"><div><font size="2" face="Arial">Bom dia,</font></div><div><font size="2" face="Arial"></font>&nbsp;</div><div><font size="2" face="Arial">usando agentes estaticos no queue.conf é possível saber quando não a nenhum agente disponivel para atender a fila e direcionar o cliente para uma mensagem e encerrar a ligação? Mas esta condição só pode ser seguida se nenhum dos agentes estiver com o softphone ligado, caso existam agentes em ligação o cliente deve ficar na fila.</font></div><div><font size="2" face="Arial"></font>&nbsp;</div><div><font size="2" face="Arial">Estou usando asterisk "puro", versão 1.2.</font></div><div><font size="2" face="Arial"></font>&nbsp;</div><div><font size="2" face="Arial"></font>&nbsp;</div><div><font size="2" face="Arial">Grato,</font></div><div><font size="2" face="Arial"></font>&nbsp;</div><div><font size="2" face="Arial">Vinicius</font></div>_______________________________________________<br>KHOMP Inovação: External Board Series<br>Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<br>Tenha a External Series Experience na sua aplicação. Visite&nbsp;<a href="http://www.khomp.com">www.khomp.com</a><br>_______________________________________________<br>DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br>20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br">www.digivoice.com.br</a><br>________<br>YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<br>email:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a><span class="Apple-converted-space">&nbsp;</span>|<span class="Apple-converted-space">&nbsp;</span><a href="http://www.commlogik.com.br">www.commlogik.com.br</a><span class="Apple-converted-space">&nbsp;</span>| (11) 5503-1011<br>______________________________________________<br>Para remover seu email desta lista, basta enviar um email em branco para<span class="Apple-converted-space">&nbsp;</span><a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></div></blockquote></div><br></body></html>