<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Bom dia, <BR>
&nbsp;<BR>
Tudo está funcionando... o qu estava errado era a a passagem de paramentros<BR>
&nbsp;<BR>
v.14 : exten = s,n,Queue(vendas|tT|||300)&nbsp;<BR>
v.16 : exten = s,n,Queue(vendas)&nbsp;;virgulas<BR>
&nbsp;<BR>
Aproveitando o contexto:<BR>
&nbsp;<BR>
Como eu posso utilizar o mysql para criar as filas? E a tabela&nbsp;queue_table?<BR>
&nbsp;<BR>
Os Menbers é a tabela queue_member_table?<BR>
&nbsp;<BR>
E para criar os agentes? <BR>
&nbsp;<BR>
Tem alguns paramentros que eu não sei como preencher no banco:<BR>
&nbsp;<BR>
Alguem tem um exemplo com as linhas preenchidas?<BR>
&nbsp;<BR>
&nbsp;<BR>
Ricardo.<BR>
<BR>&nbsp;<BR>
<HR id=stopSpelling>
Date: Mon, 9 Nov 2009 09:40:01 -0300<BR>From: pscamara@gmail.com<BR>To: asteriskbrasil@listas.asteriskbrasil.org<BR>Subject: Re: [AsteriskBrasil] DÚVDAS: QUEUE/AGENTS<BR><BR><SPAN style="BORDER-COLLAPSE: collapse" class=ecxApple-style-span>extensions_ad.conf ?</SPAN>
<DIV><SPAN style="BORDER-COLLAPSE: collapse" class=ecxApple-style-span><BR></SPAN><BR>
<DIV class=ecxgmail_quote>2009/11/9 Wendell Silva <SPAN dir=ltr>&lt;<A href="mailto:wendbandeira@gmail.com">wendbandeira@gmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; PADDING-LEFT: 1ex" class=ecxgmail_quote>Provavelmente falta você adicionar também seu dial-plan no extensions_ad.conf, não acontece nada porque o asterisk não esta achando seu dial-plan, por isso que digo que seu dial-plan esta no lugar errado. Verifique e me fale.<BR><BR>Att.<BR><BR>Wendell Silva Bandeira<BR><BR>
<DIV class=ecxgmail_quote>2009/11/9 Ricardo Monte Negro <SPAN dir=ltr>&lt;<A href="mailto:ricardo_mn1979@hotmail.com">ricardo_mn1979@hotmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV>
<DIV>Oi pessoal,</DIV>
<DIV><BR></DIV>
<DIV>Estou com problemas no uso de agent e queue.</DIV>
<DIV><BR></DIV>
<DIV>Segui as regras do site mestreasterisk mas acho que deixei passar alguma coisa.</DIV>
<DIV><BR></DIV>
<DIV>agents.conf</DIV>
<DIV><BR></DIV>
<DIV>[general]</DIV>
<DIV>persistentagents=yes ; define se o callbacklogin terá que ser armazenado em uma base de dados interna do Asterisk. Assim toda vez que reiniciarmos o Asterisk esses dados serão recarregados automaticamente.</DIV>
<DIV>multiplelogin=yes ; define se é permitido que uma mesma extensão pode-se conectar com multiplos agentes</DIV>
<DIV><BR></DIV>
<DIV>[agents]</DIV>
<DIV>maxlogintries=3 <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV>autologoff=15 <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV>autologoffunavail=yes <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV>endcall=yes <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV>musiconhold = default <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV>group=1<SPAN style="WHITE-SPACE: pre"> </SPAN></DIV>
<DIV>ackcall=no <SPAN style="WHITE-SPACE: pre"></SPAN></DIV>
<DIV><BR></DIV>
<DIV>agent =&gt; 9990,0000,Agent9990</DIV>
<DIV>agent =&gt; 9991,0000,Agent9991&nbsp;</DIV>
<DIV>agent =&gt; 9992,0000,Agent9992&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>queue.conf</DIV>
<DIV><BR></DIV>
<DIV>[general]</DIV>
<DIV>persistentmembers = yes</DIV>
<DIV>keepstats = no</DIV>
<DIV>autofill = yes</DIV>
<DIV>monitor-type = MixMonitor</DIV>
<DIV>shared_lastcall=no</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>[vendas]</DIV>
<DIV>musicclass = default&nbsp;</DIV>
<DIV>;announce = queue-vendas&nbsp;</DIV>
<DIV>strategy = ringall&nbsp;</DIV>
<DIV>retry = 5&nbsp;</DIV>
<DIV>weight=0&nbsp;</DIV>
<DIV>autopause=no&nbsp;</DIV>
<DIV>maxlen = 0&nbsp;</DIV>
<DIV>announce-frequency = 90</DIV>
<DIV>min-announce-frequency = 15&nbsp;</DIV>
<DIV>periodic-announce-frequency=60&nbsp;</DIV>
<DIV>announce-holdtime = once&nbsp;</DIV>
<DIV>announce-position = yes&nbsp;</DIV>
<DIV>announce-round-seconds = 10</DIV>
<DIV>reportholdtime = yes&nbsp;</DIV>
<DIV>ringinuse = no</DIV>
<DIV><BR></DIV>
<DIV>member =&gt; Agent/9990</DIV>
<DIV>member =&gt; Agent/9991</DIV>
<DIV>member =&gt; Agent/9992</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>extension.conf&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>[SAIDA]</DIV>
<DIV>exten = 99,1, GoTo(FILAS,s,1)</DIV>
<DIV>exten = 98,1, Macro(AGENTES)</DIV>
<DIV><BR></DIV>
<DIV>[macro-AGENTES]</DIV>
<DIV>exten = s,1, AgentLogin(9990)</DIV>
<DIV>exten = s,n, HangUp()</DIV>
<DIV><BR></DIV>
<DIV>[FILAS]&nbsp;</DIV>
<DIV>exten = s,1,Answer &nbsp;</DIV>
<DIV>exten = s,n, Playback(atendimento)</DIV>
<DIV>exten = s,n,Queue(vendas|tT|||300)&nbsp;</DIV>
<DIV>exten = s,n, HangUp()</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>No console</DIV>
<DIV><BR></DIV>
<DIV>queue show</DIV>
<DIV>vendas &nbsp; &nbsp; &nbsp; has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s</DIV>
<DIV>&nbsp;&nbsp; Members:</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;Agent/9991 (Unavailable) has taken no calls yet</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;Agent/9992 (Unavailable) has taken no calls yet</DIV>
<DIV>&nbsp;&nbsp; &nbsp; &nbsp;Agent/9990 (Unavailable) has taken no calls yet</DIV>
<DIV><BR></DIV>
<DIV>agent show</DIV>
<DIV>9990 &nbsp; &nbsp; &nbsp; &nbsp; (Agent9990) not logged in (musiconhold is 'default')</DIV>
<DIV>9991 &nbsp; &nbsp; &nbsp; &nbsp; (Agent9991) not logged in (musiconhold is 'default')</DIV>
<DIV>9992 &nbsp; &nbsp; &nbsp; &nbsp; (Agent9992) not logged in (musiconhold is 'default')</DIV>
<DIV>3 agents configured [0 online , 3 offline]</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Ao pressionar 98, faz o logon do agente, e escuta &nbsp;a música defaul</DIV>
<DIV><BR></DIV>
<DIV>Ao pressionar 99:</DIV>
<DIV><BR></DIV>
<DIV>[s@FILAS:1] Answer("SIP/9900-ac177c70", "")&nbsp;</DIV>
<DIV>[s@FILAS:2] Playback("SIP/9900-ac177c70", "atendimento")&nbsp;</DIV>
<DIV>&nbsp;&nbsp; &nbsp;-- &lt;SIP/9900-ac177c70&gt; Playing 'atendimento.slin'</DIV>
<DIV>[s@FILAS:3] Queue("SIP/9900-ac177c70", "vendas|tT|||300")&nbsp;</DIV>
<DIV>[s@FILAS:4] Hangup("SIP/9900-ac177c70", "")</DIV>
<DIV>&nbsp;[h@FILAS:1] Hangup("SIP/9900-ac177c70", "")&nbsp;</DIV>
<DIV><BR></DIV>
<DIV>Nada acontece...</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Ricardo</DIV><BR>
<HR>
Chegou o Windows 7. Deixe seu computador mais simples e fácil. <A href="http://www.microsoft.com/brasil/windows7/default.html?WT.mc_id=1539">Clique para conhecer.</A></DIV><BR><BR></DIV></DIV>_______________________________________________<BR><A href="http://www.voipmania.com.br/">http://www.voipmania.com.br</A><BR>Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<BR>Promoção por tempo limitado!<BR>Acesse agora <A href="http://promo.voipmania.com.br/">http://promo.voipmania.com.br</A><BR><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">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A><BR></BLOCKQUOTE></DIV><BR><BR><BR>_______________________________________________<BR><A href="http://www.voipmania.com.br/">http://www.voipmania.com.br</A><BR>Telefone IP sem fio Gigaset A580IP por 6 x R$59,90.<BR>Promoção por tempo limitado!<BR>Acesse agora <A href="http://promo.voipmania.com.br/">http://promo.voipmania.com.br</A><BR><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">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A><BR></BLOCKQUOTE></DIV><BR></DIV>                                               <br /><hr />Novo Windows 7. Você vai achar que nasceu sabendo! <a href='http://www.microsoft.com/brasil/windows7/default.html?WT.mc_id=1539' target='_new'>Clique e conheça.</a></body>
</html>