Boa tarde lista.
 
Estou com um problema com filas de atendimento, alguém pode ajudar?
É o seguinte, tenho 2 ambientes Asterisk, um para desenvolvimento e outro para 
produção.
 
Acontece que eu criei uma fila no ambiente de DEV, ela funciona direitinho, 
quando a fila é chamada e não há nenhum atendente disponível É FALADA A 
mensagem de "Atendente Indisponível".
 
Porém quando eu migrei os mesmos códigos para Produção, houve um problema, 
quando a fila é chamada e não há nenhum atendente disponível a mensagem de 
"Atendente Indisponível" NÃO É FALADA e ligação cai na fila de espera (mesmo 
sem ter atendente disponível).
 
Já verifiquei (e também dei reload) nos arquivos sip.conf, features.conf, 
queues.conf, extensions.conf e também verifiquei o LOG do console.
 
Segue abaixo meus códigos para análise.


AMBIENTE DE PRD

Extensions.conf
  '0800' =>   1. Answer()
                 2. Queue(suporte|oTt)
                 3. Dial(${ARG1}/${ARG2}|30|otT)
                 4. NoOp(*** ${DIALSTATUS} *** Teste )
                 5. Goto(${DIALSTATUS}|1)
                       6. Hangup()
'BUSY' =>          1. Playback(AtendenteIndisponivel)
'CHANUNAVAIL' =>  1. Playback(AtendenteIndisponivel)
'NOANSWER' =>     1. Playback(AtendenteIndisponivel)

Queues.conf
[suporte]
strategy = fewestcalls
musicclass = musica
timeout = 15
retry = 3
maxlen = 0
announce-frequency = 30
monitor-format = wav49
monitor-type = MixMonitor
member => Sip/1009,1
autofill = yes
announce-holdtime = yes
periodic-annouance-frequency = 30

Log do Console
    -- Executing [0...@ramaisinternos:1] Answer("SIP/1012-09932968", "") in new 
stack
    -- Executing [0...@ramaisinternos:2] Queue("SIP/1012-09932968", 
"suporte|oTt") in new stack
    -- Started music on hold, class 'musica', on SIP/1012-09932968
    -- Stopped music on hold on SIP/1012-09932968
    -- <SIP/1012-09932968> Playing 'queue-youarenext' (language 'pt_BR')
    -- Started music on hold, class 'musica', on SIP/1012-09932968
  == Spawn extension (ramaisinternos, 0800, 2) exited non-zero on 
'SIP/1012-09932968'
    -- Stopped music on hold on SIP/1012-09932968

---------------------------------------------------
AMBIENTE DE DESENVOLVIMENTO

Extensions.conf
  '080099' =>        1. Answer()                                  
                 2. Queue(suporte|oTt)                    
                 3. Dial(${ARG1}/${ARG2}|30|otT)     
                 4. Goto(${DIALSTATUS}|1)             
                 5. HangUp()                                 
'BUSY' =>          1. Playback(AtendenteIndisponivel)
'CHANUNAVAIL' =>  1. Playback(AtendenteIndisponivel)
'NOANSWER' =>     1. Playback(AtendenteIndisponivel)

Queues.conf
[suporte]
strategy=fewestcalls   
musicclass = musica
timeout = 15
retry = 3
maxlen = 0
announce-frequency = 30
monitor-format = wav49
monitor-type = MixMonitor
member => Sip/1040,1
member => Sip/1009
autofill = yes
announce-holdtime = yes
periodic-annouance-frequency = 30
  
Log do Console
    -- Executing [080...@ramaisinternos:1] Answer("SIP/1012-0950b778", "") in 
new stack
    -- Executing [080...@ramaisinternos:2] Queue("SIP/1012-0950b778", 
"suporte|oTt") in new stack
[Jan  4 09:50:37] WARNING[10808]: app_queue.c:4077 queue_exec: Unable to join 
queue 'suporte'
    -- Executing [080...@ramaisinternos:3] Dial("SIP/1012-0950b778", 
"/|30|otT") in new stack
[Jan  4 09:50:37] WARNING[10808]: channel.c:3051 ast_request: No channel type 
registered for ''
[Jan  4 09:50:37] WARNING[10808]: app_dial.c:1242 dial_exec_full: Unable to 
create channel of type '' (cause 66 - Channel not implemented)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [080...@ramaisinternos:4] Goto("SIP/1012-0950b778", 
"CHANUNAVAIL|1") in new stack
    -- Goto (ramaisinternos,CHANUNAVAIL,1)
    -- Executing [chanunav...@ramaisinternos:1] Playback("SIP/1012-0950b778", 
"AtendenteIndisponivel") in new stack
    -- <SIP/1012-0950b778> Playing 'AtendenteIndisponivel' (language 'pt_BR')
  == Spawn extension (ramaisinternos, CHANUNAVAIL, 1) exited non-zero on 
'SIP/1012-0950b778'


Att,
Bruno
_______________________________________________
A Redfone é líder no fornecimento de bridges TDMoE &lt;-> E1
- Valor similar ao de placas E1 PCI;
- Não há problemas de compatibilidade com barramento PCI;
- Possibilitam a construção de soluções de alta disponibilidade(dois  
servidores compartilham o mesmo E1)
Conheça mais sobre este produto em www.red-fone.com
_______________________________________________
Lista de discussões AsteriskBrasil.org
[email protected]
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

Responder a