<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT 
color=#000080><FONT face=Arial color=#000000 size=2>Oi 
Sylvio</FONT></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 9pt; COLOR: #355e00; FONT-FAMILY: Verdana"><FONT 
color=#000080><FONT face=Arial color=#000000 size=2>Nao deu certo pq percebi que 
nao retorna o status do queue, hablitei ele no queue.conf mas so retorna o 
estado do ramal</FONT><BR></DIV></FONT></SPAN>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">&nbsp;&nbsp;&nbsp; -- Executing [2200@0:5] 
  Answer("SIP/3971-b7c33900", "") in new stack<BR>&nbsp;&nbsp;&nbsp; -- 
  Executing [2200@0:6] Wait("SIP/3971-b7c33900", "1") in new 
  stack<BR>&nbsp;&nbsp;&nbsp; -- Executing [2200@0:7] Queue("SIP/3971-b7c33900", 
  "600|tT|||30") in new stack<BR>&nbsp;&nbsp;&nbsp; -- Started music on hold, 
  class 'default', on SIP/3971-b7c33900<BR>&nbsp;&nbsp;&nbsp; -- Called <A 
  href="mailto:Local/3900@0/n">Local/3900@0/n</A><BR>&nbsp;&nbsp;&nbsp; -- 
  Executing [3900@0:1] Dial("<A 
  href="mailto:Local/3900@0-ef5c,2">Local/3900@0-ef5c,2</A>", "SIP/3900|200|tT") 
  in new stack<BR>&nbsp;&nbsp;&nbsp; -- Couldn't call 3900<BR>&nbsp; == Everyone 
  is busy/congested at this time (0:0/0/0)<BR>&nbsp; == Auto fallthrough, 
  channel <A href="mailto:'Local/3900@0-ef5c,2'">'Local/3900@0-ef5c,2'</A> 
  status is 'CHANUNAVAIL'<BR>&nbsp;&nbsp;&nbsp; -- <A 
  href="mailto:Local/3900@0-ef5c,1">Local/3900@0-ef5c,1</A> is 
  circuit-busy<BR></DIV>
  <DIV style="FONT: 10pt arial">&nbsp;</DIV>
  <DIV style="FONT: 10pt arial">&nbsp;</DIV>
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=sylvio.sdr@gmail.com href="mailto:sylvio.sdr@gmail.com">Sylvio Carlos 
  Jollenbeck</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asteriskbrasil@listas.asteriskbrasil.org 
  href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, July 15, 2010 8:59 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [AsteriskBrasil] fila</DIV>
  <DIV><BR></DIV><BR>Jose,<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Tente brincar assim:<BR><BR>na config da queue defina o maxlen com 5 (tamanho 
  maximo da fila).<BR><BR><BR>[from-pstn]<BR>exten =&gt; 2000,1,Wait(1)<BR>exten 
  =&gt; 2000,n,Answer()<BR>exten =&gt; 2000,n,Queue(XPTO|tT|||30)<BR>exten =&gt; 
  2000,n,GotoIf(["${QUEUESTATUS}"=" FULL"]?ramal:hp)<BR>exten =&gt; 
  2000,n(hp),hangup()<BR>exten =&gt; 
  2000,n(ramal),Dial(SIP/RAMAL,60,tT);<BR>exten =&gt; 
  2000,n,Hangup()<BR><BR>Abs.<BR><BR>Sylvio Carlos Jollenbeck 
  Borin<BR><BR><BR><BR><BR>
  <DIV class=gmail_quote>Em 15 de julho de 2010 08:37, jose <SPAN dir=ltr>&lt;<A 
  href="mailto:jasanchez@terra.com.br">jasanchez@terra.com.br</A>&gt;</SPAN> 
  escreveu:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial><FONT size=2>Bom dia a todos</FONT></FONT></DIV>
    <DIV><FONT face=Arial><FONT size=2><SPAN 
    style="FONT-SIZE: 9pt; COLOR: rgb(53,94,0); FONT-FAMILY: Verdana"><FONT 
    color=#000080><FONT face=Arial color=#000000 size=2>Tenho a seguinte 
    necessidade: </FONT></FONT></SPAN></FONT></FONT></DIV>
    <DIV><FONT face=Arial><FONT size=2><SPAN 
    style="FONT-SIZE: 9pt; COLOR: rgb(53,94,0); FONT-FAMILY: Verdana"><FONT 
    color=#000080><FONT face=Arial color=#000000 size=2>Em uma fila de 
    atendimento tenho 1 ramal logado recebendo chamada, quando o mesmo tiver 5 
    ligaçaoes em fila preciso que a sexta ligaçao caia em um outro ramal, alguem 
    sabe como faço isso?</FONT></FONT></SPAN></FONT></FONT></DIV>
    <DIV><FONT face=Arial><FONT size=2><SPAN 
    style="FONT-SIZE: 9pt; COLOR: rgb(53,94,0); FONT-FAMILY: Verdana"><FONT 
    color=#000080><FONT face=Arial color=#000000 
    size=2>Obrigado</FONT></FONT></SPAN></FONT></FONT></DIV></DIV><BR>_______________________________________________<BR>KHOMP: 
    qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<BR>- Hardware com 
    alta disponibilidade de recursos e qualidade KHOMP<BR>- Suporte técnico 
    local qualificado e gratuito<BR>Conheça a linha completa de produtos KHOMP 
    em <A href="http://www.khomp.com.br" 
    target=_blank>www.khomp.com.br</A><BR>_______________________________________________<BR>Temos 
    tudo para seu projeto VoIP com Asterisk!<BR>Descontos especiais para 
    assinantes da AsteriskBrasil.org.<BR>Registre-se e receba um cupom exclusivo 
    de desconto!<BR>Acesse agora <A href="http://www.voipmania.com.br" 
    target=_blank>www.voipmania.com.br</A><BR>______________________________________________<BR>Lista 
    de discussões AsteriskBrasil.org<BR><A 
    href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</A><BR><A 
    href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" 
    target=_blank>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>Sylvio Carlos Jollenbeck Borin<BR><A 
  href="http://sylviojollenbeck.wordpress.com/">http://sylviojollenbeck.wordpress.com/</A><BR>msn: 
  <A 
  href="mailto:sylvio@sdrconsulting.com.br">sylvio@sdrconsulting.com.br</A><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>KHOMP: qualidade em 
  placas de E1, GSM, FXS e FXO para Asterisk. <BR>- Hardware com alta 
  disponibilidade de recursos e qualidade KHOMP<BR>- Suporte técnico local 
  qualificado e gratuito <BR>Conheça a linha completa de produtos KHOMP em 
  www.khomp.com.br<BR>_______________________________________________<BR>Temos 
  tudo para seu projeto VoIP com Asterisk!<BR>Descontos especiais para 
  assinantes da AsteriskBrasil.org.<BR>Registre-se e receba um cupom exclusivo 
  de desconto!<BR>Acesse agora 
  www.voipmania.com.br<BR>______________________________________________<BR>Lista 
  de discussões 
  AsteriskBrasil.org<BR>AsteriskBrasil@listas.asteriskbrasil.org<BR>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</BLOCKQUOTE></BODY></HTML>