<!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.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><STRONG>Pessoal, se alguem puder me ajudar
agradeço, não faço a minima ideia do que pode estar
acontecendo.</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>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:</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> -- Executing Set("Dgv/2",
"FROM_DID=2622") in new stack<BR> -- Executing Set("Dgv/2",
"FAX_RX=disabled") in new stack<BR> -- Executing Goto("Dgv/2",
"ext-queues|2600|1") in new stack<BR> -- Goto
(ext-queues,2600,1)<BR> -- Executing Answer("Dgv/2", "") in
new stack<BR> -- Executing Set("Dgv/2", "CALLERID(name)=Atd:")
in new stack<BR> -- Executing Set("Dgv/2",
"MONITOR_FILENAME=/var/spool/asterisk/monitor/q2600-20070118-234427-1169171067.1192")
in new stack<BR> -- Executing Playback("Dgv/2",
"custom/AGUARDE") in new stack<BR> -- Playing 'custom/AGUARDE'
(language 'en')<BR> -- Dgv/1 is ringing<BR> == Spawn
extension (ext-queues, 2600, 4) exited non-zero on 'Dgv/2'<BR>
-- Dgv/1 is ringing<BR> -- Dgv/1 is
ringing<BR> -- Dgv/1 is ringing<BR></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Já quando coloco uma extensions chamando
este contexto de um ramal interno funciona perfeitamente bem. (ex.: <FONT
size=1>exten => 2600,1,Goto(ext-queues,2600,1) </FONT><FONT
size=2>)</FONT></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2> -- Executing
Goto("SIP/2626-8c8d", "ext-queues|2600|1") in new stack<BR> --
Goto (ext-queues,2600,1)<BR> -- Executing
Answer("SIP/2626-8c8d", "") in new stack<BR> -- Executing
Set("SIP/2626-8c8d", "CALLERID(name)=Atd:Recepcionista") in new
stack<BR> -- Executing Set("SIP/2626-8c8d",
"MONITOR_FILENAME=/var/spool/asterisk/monitor/q2600-20070118-234449-1169171089.1193")
in new stack<BR> -- Executing Playback("SIP/2626-8c8d",
"custom/AGUARDE") in new stack<BR> -- Playing 'custom/AGUARDE'
(language 'en')<BR> -- Executing Queue("SIP/2626-8c8d",
"2600|t||custom/BEEP|120") in new stack<BR> -- Started music
on hold, class 'default', on SIP/2626-8c8d<BR> -- Called <A
href="mailto:Local/2630@from-internal">Local/2630@from-internal</A><BR>
-- Stopped music on hold on SIP/2626-8c8d<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><STRONG>O contexto da fila é
esse:</STRONG></FONT></DIV>
<DIV><FONT size=1>
<P><FONT size=2>[ext-queues]</FONT></P>
<P><FONT size=2>include => ext-queues-custom<BR></FONT><FONT size=2>exten
=> 2600,1,Answer<BR></FONT><FONT size=2>exten =>
2600,n,Set(CALLERID(name)=Atd:${CALLERIDNAME})<BR></FONT><FONT size=2>exten
=>
2600,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${TIMESTAMP}-${UNIQUEID})<BR></FONT><FONT
size=2>exten => 2600,n,Playback(custom/AGUARDE)<BR></FONT><FONT size=2>exten
=> 2600,n,Queue(2600|t||custom/BEEP|120)<BR></FONT><FONT size=2>exten =>
2600,n,Goto(ext-group,1,1)<BR></FONT><FONT size=2>exten =>
2600*,1,Macro(agent-add,2600,)<BR></FONT><FONT size=2>exten =>
2600**,1,Macro(agent-del,2600,2600)<BR></FONT></P></FONT></DIV>
<DIV><FONT face=Arial size=2>Atenciosamente,</FONT></DIV>
<DIV><FONT face=Arial size=2>Fernando</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>