[AsteriskBrasil] E1 caindo quando vai p/ fila

Maicon Fernando Abreu maicon em mfaconsult.com
Quarta Setembro 23 23:58:45 BRT 2009


Boa noite a todos,
Tenho um asterisk 1.4 com dahdi 2.2 e openr2 1.2.0, tenho uma FILA chamada
recepcao ( fila da telefonista ), quando é realizada uma ligação "interna"
no ramais para a telefonista esta ligação é direcionada para FILA, na qual
a pessoa aguarda atendimento da telefonista o tempo que for necessário, a
mesma FILA é usada para atendimento das ligações externas (TRONCO E1),
porém quando a ligação é originada da rede pública a mesma não é
completada, conforme LOG abaixo no CLI recebo a msg que esta dando PLAY na
MOH, porém a ligação fica muda e depois de alguns segundos diz que o
número é inexistente, isto somente acontece nas ligações externas via E1,
alguem ja passou por isso?

Atencisamente,
Maicon F. Abreu

========= LOG ===========

[Sep 14 12:00:24] NOTICE[2344]: chan_dahdi.c:1302 dahdi_r2_on_call_init:
New MFC/R2 call detected on chan 9.
[Sep 14 12:00:27] NOTICE[2344]: chan_dahdi.c:1369
dahdi_r2_on_call_offered: MFC/R2 call offered on chan 9. ANI = , DNIS =
9673, Category = National Subscriber
-- Executing [9673 em disc-from-trunk-TR001:1] Set("DAHDI/9-1",
"GLOBAL(TRUNK)=TR001") in new stack
== Setting global variable 'TRUNK' to 'TR001'
-- Executing [9673 em disc-from-trunk-TR001:2] Set("DAHDI/9-1",
"FROM_DID=9673") in new stack
-- Executing [9673 em disc-from-trunk-TR001:3] Goto("DAHDI/9-1",
"disc-inrt-ddr_maicon|_[*#0-9].|1") in new stack
-- Goto (disc-inrt-ddr_maicon,_[*#0-9].,1)
-- Executing [_[*#0-9]. em disc-inrt-ddr_maicon:1] Set("DAHDI/9-1",
"CDR(userfield)=ddr_maicon") in new stack
-- Executing [_[*#0-9]. em disc-inrt-ddr_maicon:2] Macro("DAHDI/9-1",
"disc-blacklist|||in") in new stack
-- Executing [s em macro-disc-blacklist:1] NoOp("DAHDI/9-1", "Time is
20090914-120027") in new stack
-- Executing [s em macro-disc-blacklist:2] Set("DAHDI/9-1", "BLLIST=") in new
stack
-- Executing [s em macro-disc-blacklist:3] NoOp("DAHDI/9-1", "Except
blacklist is ") in new stack
-- Executing [s em macro-disc-blacklist:4] Macro("DAHDI/9-1",
"disc-checkblpattern| ") in new stack
-- Executing [s em macro-disc-checkblpattern:1] Set("DAHDI/9-1",
"MATCH=false") in new stack
-- Executing [s em macro-disc-checkblpattern:2] Set("DAHDI/9-1", "COUNT=1")
in new stack
-- Executing [s em macro-disc-checkblpattern:3] NoOp("DAHDI/9-1", "Loop 1")
in new stack
-- Executing [s em macro-disc-checkblpattern:4] Set("DAHDI/9-1", "CURPATT=")
in new stack
-- Executing [s em macro-disc-checkblpattern:5] GotoIf("DAHDI/9-1", "1?end")
in new stack
-- Goto (macro-disc-checkblpattern,s,12)
-- Executing [s em macro-disc-checkblpattern:12] NoOp("DAHDI/9-1", "") in new
stack
-- Executing [s em macro-disc-blacklist:5] GotoIf("DAHDI/9-1",
"0?notblacklisted") in new stack
-- Executing [s em macro-disc-blacklist:6] Set("DAHDI/9-1", "BLLIST=") in new
stack
-- Executing [s em macro-disc-blacklist:7] NoOp("DAHDI/9-1", "Global
blacklist is ") in new stack
-- Executing [s em macro-disc-blacklist:8] Macro("DAHDI/9-1",
"disc-checkblpattern| ") in new stack
-- Executing [s em macro-disc-checkblpattern:1] Set("DAHDI/9-1",
"MATCH=false") in new stack
-- Executing [s em macro-disc-checkblpattern:2] Set("DAHDI/9-1", "COUNT=1")
in new stack
-- Executing [s em macro-disc-checkblpattern:3] NoOp("DAHDI/9-1", "Loop 1")
in new stack
-- Executing [s em macro-disc-checkblpattern:4] Set("DAHDI/9-1", "CURPATT=")
in new stack
-- Executing [s em macro-disc-checkblpattern:5] GotoIf("DAHDI/9-1", "1?end")
in new stack
-- Goto (macro-disc-checkblpattern,s,12)
-- Executing [s em macro-disc-checkblpattern:12] NoOp("DAHDI/9-1", "") in new
stack
-- Executing [s em macro-disc-blacklist:9] GotoIf("DAHDI/9-1",
"0?blacklisted") in new stack
-- Executing [s em macro-disc-blacklist:10] Set("DAHDI/9-1", "BLLIST=") in
new stack
-- Executing [s em macro-disc-blacklist:11] NoOp("DAHDI/9-1", "Global
blacklist is ") in new stack
-- Executing [s em macro-disc-blacklist:12] Macro("DAHDI/9-1",
"disc-checkblpattern| ") in new stack
-- Executing [s em macro-disc-checkblpattern:1] Set("DAHDI/9-1",
"MATCH=false") in new stack
-- Executing [s em macro-disc-checkblpattern:2] Set("DAHDI/9-1", "COUNT=1")
in new stack
-- Executing [s em macro-disc-checkblpattern:3] NoOp("DAHDI/9-1", "Loop 1")
in new stack
-- Executing [s em macro-disc-checkblpattern:4] Set("DAHDI/9-1", "CURPATT=")
in new stack
-- Executing [s em macro-disc-checkblpattern:5] GotoIf("DAHDI/9-1", "1?end")
in new stack
-- Goto (macro-disc-checkblpattern,s,12)
-- Executing [s em macro-disc-checkblpattern:12] NoOp("DAHDI/9-1", "") in new
stack
-- Executing [s em macro-disc-blacklist:13] GotoIf("DAHDI/9-1",
"1?notblacklisted") in new stack
-- Goto (macro-disc-blacklist,s,22)
-- Executing [s em macro-disc-blacklist:22] NoOp("DAHDI/9-1", "Time is
20090914-120027") in new stack
-- Executing [s em macro-disc-blacklist:23] NoOp("DAHDI/9-1", "Not
blacklisted") in new stack
-- Executing [_[*#0-9]. em disc-inrt-ddr_maicon:3] Goto("DAHDI/9-1",
"disc-ext-queues|4001|1") in new stack
-- Goto (disc-ext-queues,4001,1)
-- Executing [4001 em disc-ext-queues:1] Answer("DAHDI/9-1", "") in new stack
[Sep 14 12:00:27] WARNING[6683]: chan_dahdi.c:1553 dahdi_r2_write_log:
Chan 9 - Cannot answer call if the call is not accepted first
-- Executing [4001 em disc-ext-queues:2] Set("DAHDI/9-1",
"MONITOR_FILENAME=/var/spool/asterisk/monitor/q4001-20090914-120027)-1252940427.1259")
in new stack
-- Executing [4001 em disc-ext-queues:3] Queue("DAHDI/9-1", "4001|t||") in
new stack
-- Started music on hold, class 'default', on DAHDI/9-1
-- Executing [9673 em disc-ext-local:1]
Macro("Local/9673 em disc-ext-local-892a,2", "disc-exten-vm|novm|9673") in
new stack
-- Executing [s em macro-disc-exten-vm:1]
Set("Local/9673 em disc-ext-local-892a,2", "FROMCONTEXT=exten-vm") in new
stack
-- Executing [s em macro-disc-exten-vm:2]
Set("Local/9673 em disc-ext-local-892a,2", "VMBOX=novm") in new stack
-- Executing [s em macro-disc-exten-vm:3]
Set("Local/9673 em disc-ext-local-892a,2", "EXTTOCALL=9673") in new stack
-- Executing [s em macro-disc-exten-vm:4]
Set("Local/9673 em disc-ext-local-892a,2", "REDIAL=0Z") in new stack
-- Executing [s em macro-disc-exten-vm:5]
Set("Local/9673 em disc-ext-local-892a,2", "DB(DISC/ext/9673/calltrace)=0Z")
in new stack
-- Executing [s em macro-disc-exten-vm:6]
Set("Local/9673 em disc-ext-local-892a,2", "CFUEXT=") in new stack
-- Executing [s em macro-disc-exten-vm:7]
Set("Local/9673 em disc-ext-local-892a,2", "RT=""") in new stack
-- Executing [s em macro-disc-exten-vm:8]
NoOp("Local/9673 em disc-ext-local-892a,2", "checking incoming recordenable")
in new stack
-- Executing [s em macro-disc-exten-vm:9]
Macro("Local/9673 em disc-ext-local-892a,2",
"disc-record-enable||9673|IN|TR001") in new stack
-- Executing [s em macro-disc-record-enable:1]
NoOp("Local/9673 em disc-ext-local-892a,2", "Time is 20090914-120027") in new
stack
-- Executing [s em macro-disc-record-enable:2]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG1 is ") in new stack
-- Executing [s em macro-disc-record-enable:3]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG2 is 9673") in new stack
-- Executing [s em macro-disc-record-enable:4]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG3 is IN") in new stack
-- Executing [s em macro-disc-record-enable:5]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG4 is TR001") in new stack
-- Executing [s em macro-disc-record-enable:6]
Set("Local/9673 em disc-ext-local-892a,2", "TRUNKRECORD=no") in new stack
-- Executing [s em macro-disc-record-enable:7]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0 > 0?reset:check") in new
stack
-- Goto (macro-disc-record-enable,s,10)
-- Executing [s em macro-disc-record-enable:10]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?trunk") in new stack
-- Executing [s em macro-disc-record-enable:11]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?out") in new stack
-- Executing [s em macro-disc-record-enable:12]
GotoIf("Local/9673 em disc-ext-local-892a,2", "1?in") in new stack
-- Goto (macro-disc-record-enable,s,21)
-- Executing [s em macro-disc-record-enable:21]
Set("Local/9673 em disc-ext-local-892a,2", "OPT=no") in new stack
-- Executing [s em macro-disc-record-enable:22]
GotoIf("Local/9673 em disc-ext-local-892a,2", "1?norec") in new stack
-- Goto (macro-disc-record-enable,s,31)
-- Executing [s em macro-disc-record-enable:31]
NoOp("Local/9673 em disc-ext-local-892a,2", "No recording needed") in new
stack
-- Executing [s em macro-disc-record-enable:32]
NoOp("Local/9673 em disc-ext-local-892a,2", "Time is 20090914-120027") in new
stack
-- Executing [s em macro-disc-record-enable:33]
NoOp("Local/9673 em disc-ext-local-892a,2", "End of record enable") in new
stack
-- Executing [s em macro-disc-exten-vm:10]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?externalcall") in new stack
-- Executing [s em macro-disc-exten-vm:11]
NoOp("Local/9673 em disc-ext-local-892a,2", "internal call| checking outgoing
recordenable") in new stack
-- Executing [s em macro-disc-exten-vm:12]
Macro("Local/9673 em disc-ext-local-892a,2", "disc-record-enable||9673|OUT")
in new stack
-- Executing [s em macro-disc-record-enable:1]
NoOp("Local/9673 em disc-ext-local-892a,2", "Time is 20090914-120027") in new
stack
-- Executing [s em macro-disc-record-enable:2]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG1 is ") in new stack
-- Executing [s em macro-disc-record-enable:3]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG2 is 9673") in new stack
-- Executing [s em macro-disc-record-enable:4]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG3 is OUT") in new stack
-- Executing [s em macro-disc-record-enable:5]
NoOp("Local/9673 em disc-ext-local-892a,2", "ARG4 is ") in new stack
-- Executing [s em macro-disc-record-enable:6]
Set("Local/9673 em disc-ext-local-892a,2", "TRUNKRECORD=") in new stack
-- Executing [s em macro-disc-record-enable:7]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0 > 0?reset:check") in new
stack
-- Goto (macro-disc-record-enable,s,10)
-- Executing [s em macro-disc-record-enable:10]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?trunk") in new stack
-- Executing [s em macro-disc-record-enable:11]
GotoIf("Local/9673 em disc-ext-local-892a,2", "1?out") in new stack
-- Goto (macro-disc-record-enable,s,15)
-- Executing [s em macro-disc-record-enable:15]
Set("Local/9673 em disc-ext-local-892a,2", "OPT=") in new stack
-- Executing [s em macro-disc-record-enable:16]
GotoIf("Local/9673 em disc-ext-local-892a,2", "1?norec") in new stack
-- Goto (macro-disc-record-enable,s,31)
-- Executing [s em macro-disc-record-enable:31]
NoOp("Local/9673 em disc-ext-local-892a,2", "No recording needed") in new
stack
-- Executing [s em macro-disc-record-enable:32]
NoOp("Local/9673 em disc-ext-local-892a,2", "Time is 20090914-120027") in new
stack
-- Executing [s em macro-disc-record-enable:33]
NoOp("Local/9673 em disc-ext-local-892a,2", "End of record enable") in new
stack
-- Executing [s em macro-disc-exten-vm:13]
Macro("Local/9673 em disc-ext-local-892a,2", "disc-dial-exten||tTwW|9673") in
new stack
-- Executing [s em macro-disc-dial-exten:1]
NoOp("Local/9673 em disc-ext-local-892a,2", "disc-dial-exten") in new stack
-- Executing [s em macro-disc-dial-exten:2]
Set("Local/9673 em disc-ext-local-892a,2", "NUMBER=9673") in new stack
-- Executing [s em macro-disc-dial-exten:3]
Set("Local/9673 em disc-ext-local-892a,2", "ORIGINAL_EXTEN=9673") in new
stack
-- Executing [s em macro-disc-dial-exten:4]
Set("Local/9673 em disc-ext-local-892a,2", "COUNT=0") in new stack
-- Executing [s em macro-disc-dial-exten:5]
Set("Local/9673 em disc-ext-local-892a,2", "COUNT=1.000000") in new stack
-- Executing [s em macro-disc-dial-exten:6]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?loopdectected") in new stack
-- Executing [s em macro-disc-dial-exten:7]
Set("Local/9673 em disc-ext-local-892a,2", "CF=") in new stack
-- Executing [s em macro-disc-dial-exten:8]
GotoIf("Local/9673 em disc-ext-local-892a,2", "1?dndcheck") in new stack
-- Goto (macro-disc-dial-exten,s,12)
-- Executing [s em macro-disc-dial-exten:12]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?dnd") in new stack
-- Executing [s em macro-disc-dial-exten:13]
Macro("Local/9673 em disc-ext-local-892a,2", "disc-get-dial-string|9673") in
new stack
-- Executing [s em macro-disc-get-dial-string:1]
NoOp("Local/9673 em disc-ext-local-892a,2", "Number is 9673") in new stack
-- Executing [s em macro-disc-get-dial-string:2]
Set("Local/9673 em disc-ext-local-892a,2", "CHANNEL(language)=pt_BR") in new
stack
-- Executing [s em macro-disc-get-dial-string:3]
GotoIf("Local/9673 em disc-ext-local-892a,2", "0?forward:exten") in new stack
-- Goto (macro-disc-get-dial-string,s,9)
-- Executing [s em macro-disc-get-dial-string:9]
Set("Local/9673 em disc-ext-local-892a,2", "DIALSTRING=SIP/maicon") in new
stack
-- Executing [s em macro-disc-get-dial-string:10]
NoOp("Local/9673 em disc-ext-local-892a,2", "DIALSTRING is SIP/maicon") in
new stack
-- Executing [s em macro-disc-dial-exten:14]
Dial("Local/9673 em disc-ext-local-892a,2", "SIP/maicon||tTwW") in new stack
-- Called maicon
[Sep 14 12:00:27] NOTICE[6683]: chan_dahdi.c:1433
dahdi_r2_on_call_accepted: MFC/R2 call has been accepted on chan 9
[Sep 14 12:00:27] NOTICE[6683]: chan_dahdi.c:1445
dahdi_r2_on_call_accepted: Answering MFC/R2 call after accepting it on
chan 9
-- SIP/maicon-08801c78 is ringing
-- Local/9673 em disc-ext-local-892a,1 is ringing
[Sep 14 12:00:33] NOTICE[6683]: chan_dahdi.c:1550 dahdi_r2_write_log: Chan
9 - Far end disconnected. Reason: Normal Clearing
[Sep 14 12:00:33] NOTICE[6683]: chan_dahdi.c:1504
dahdi_r2_on_call_disconnect: MFC/R2 call disconnected on chan 9
-- Stopped music on hold on DAHDI/9-1
== Spawn extension (disc-ext-queues, 4001, 3) exited non-zero on 'DAHDI/9-1'
[Sep 14 12:00:33] NOTICE[6683]: chan_dahdi.c:1422 dahdi_r2_on_call_end:
MFC/R2 call end on chan 9
-- Hungup 'DAHDI/9-1'
== Spawn extension (macro-disc-dial-exten, s, 14) exited non-zero on
'Local/9673 em disc-ext-local-892a,2' in macro 'disc-dial-exten'
== Spawn extension (macro-disc-exten-vm, s, 13) exited non-zero on
'Local/9673 em disc-ext-local-892a,2' in macro 'disc-exten-vm'
== Spawn extension (disc-ext-local, 9673, 1) exited non-zero on
'Local/9673 em disc-ext-local-892a,2'
[Sep 14 12:00:33] NOTICE[6682]: chan_dahdi.c:1550 dahdi_r2_write_log: Chan
1 - Far end disconnected. Reason: Network Congestion
[Sep 14 12:00:33] NOTICE[6682]: chan_dahdi.c:1504
dahdi_r2_on_call_disconnect: MFC/R2 call disconnected on chan 1



Mais detalhes sobre a lista de discussão AsteriskBrasil