Pessoal, se alguem puder me ajudar agradeço, não faço a minima ideia do que 
pode estar acontecendo.
Tenho um asterisk com uma placa E1 recebendo chamadas. Quando coloco um 
direcionamento de uma chamada entrante da E1 para um determinado contexto de 
uma fila ele simplesmente fica tocando eternamente e não executa o queues:

    -- Executing Set("Dgv/2", "FROM_DID=2622") in new stack
    -- Executing Set("Dgv/2", "FAX_RX=disabled") in new stack
    -- Executing Goto("Dgv/2", "ext-queues|2600|1") in new stack
    -- Goto (ext-queues,2600,1)
    -- Executing Answer("Dgv/2", "") in new stack
    -- Executing Set("Dgv/2", "CALLERID(name)=Atd:") in new stack
    -- Executing Set("Dgv/2", 
"MONITOR_FILENAME=/var/spool/asterisk/monitor/q2600-20070118-234427-1169171067.1192")
 in new stack
    -- Executing Playback("Dgv/2", "custom/AGUARDE") in new stack
    -- Playing 'custom/AGUARDE' (language 'en')
    -- Dgv/1 is ringing
  == Spawn extension (ext-queues, 2600, 4) exited non-zero on 'Dgv/2'
    -- Dgv/1 is ringing
    -- Dgv/1 is ringing
    -- Dgv/1 is ringing

Já quando coloco uma extensions chamando este contexto de um ramal interno 
funciona perfeitamente bem. (ex.: exten => 2600,1,Goto(ext-queues,2600,1) )
    -- Executing Goto("SIP/2626-8c8d", "ext-queues|2600|1") in new stack
    -- Goto (ext-queues,2600,1)
    -- Executing Answer("SIP/2626-8c8d", "") in new stack
    -- Executing Set("SIP/2626-8c8d", "CALLERID(name)=Atd:Recepcionista") in 
new stack
    -- Executing Set("SIP/2626-8c8d", 
"MONITOR_FILENAME=/var/spool/asterisk/monitor/q2600-20070118-234449-1169171089.1193")
 in new stack
    -- Executing Playback("SIP/2626-8c8d", "custom/AGUARDE") in new stack
    -- Playing 'custom/AGUARDE' (language 'en')
    -- Executing Queue("SIP/2626-8c8d", "2600|t||custom/BEEP|120") in new stack
    -- Started music on hold, class 'default', on SIP/2626-8c8d
    -- Called Local/[EMAIL PROTECTED]
    -- Stopped music on hold on SIP/2626-8c8d


O contexto da fila é esse:
[ext-queues]

include => ext-queues-custom
exten => 2600,1,Answer
exten => 2600,n,Set(CALLERID(name)=Atd:${CALLERIDNAME})
exten => 
2600,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${TIMESTAMP}-${UNIQUEID})
exten => 2600,n,Playback(custom/AGUARDE)
exten => 2600,n,Queue(2600|t||custom/BEEP|120)
exten => 2600,n,Goto(ext-group,1,1)
exten => 2600*,1,Macro(agent-add,2600,)
exten => 2600**,1,Macro(agent-del,2600,2600)


Atenciosamente,
Fernando
----------------------------------------
Estação VoIP 2006
5 e 6 Dezembro
Curitiba PR
http://www.estacaovoip.com.br

_______________________________________________
LIsta de discussões AsteriskBrasil.org
AsteriskBrasil@listas.asteriskbrasil.org
http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil

_______________________________________________
Acesse o  wiki AsteriskBrasil.org:
http://www.asteriskbrasil.org

Responder a