[AsteriskBrasil] Problema Link E1, linhas entrantes, tom chamada em looping

premium em premiuminfo.com.br premium em premiuminfo.com.br
Domingo Novembro 3 20:02:16 BRST 2013


-- 




Olá, Estou com um Link da VIVO E1 (Digium Wildcard TE110P T1/E1), estou 
realizado ligações normalmente, o problema esta com as ligações 
entrantes, a ligação entra, toca no ramal correto, o ramal atende,
mas continua dando tom de chamada para quem ligou, após alguns segundos, 
toca novamente no ramal, e se o ramal atender a situação se repete.


Alguém já passou por essa situação


*Abaixo log:*

Verbosity is at least 3
New MFC/R2 call detected on chan 7.
MFC/R2 call offered on chan 7. ANI = 00017778876077, DNIS = 9090, 
Category = National Subscriber
MFC/R2 call has been accepted on backward channel 7
     -- Executing [9090 em from-pstn:1] Set("DAHDI/7-1", "__FROM_DID=9090") 
in new stack
     -- Executing [9090 em from-pstn:2] Gosub("DAHDI/7-1", 
"app-blacklist-check,s,1") in new stack
     -- Executing [s em app-blacklist-check:1] GotoIf("DAHDI/7-1", 
"0?blacklisted") in new stack
     -- Executing [s em app-blacklist-check:2] Set("DAHDI/7-1", 
"CALLED_BLACKLIST=1") in new stack
     -- Executing [s em app-blacklist-check:3] Return("DAHDI/7-1", "") in 
new stack
     -- Executing [9090 em from-pstn:3] ExecIf("DAHDI/7-1", "0 
?Set(CALLERID(name)=00017778876077)") in new stack
     -- Executing [9090 em from-pstn:4] Set("DAHDI/7-1", 
"__CALLINGPRES_SV=allowed_not_screened") in new stack
     -- Executing [9090 em from-pstn:5] Set("DAHDI/7-1", 
"CALLERPRES()=allowed_not_screened") in new stack
     -- Executing [9090 em from-pstn:6] Goto("DAHDI/7-1", 
"from-did-direct,9090,1") in new stack
     -- Goto (from-did-direct,9090,1)
     -- Executing [9090 em from-did-direct:1] GotoIf("DAHDI/7-1", 
"0?ext-local,9090,1") in new stack
     -- Executing [9090 em from-did-direct:2] Macro("DAHDI/7-1", 
"user-callerid,") in new stack
     -- Executing [s em macro-user-callerid:1] Set("DAHDI/7-1", 
"AMPUSER=00017778876077") in new stack
     -- Executing [s em macro-user-callerid:2] GotoIf("DAHDI/7-1", 
"0?report") in new stack
     -- Executing [s em macro-user-callerid:3] ExecIf("DAHDI/7-1", 
"1?Set(REALCALLERIDNUM=00017778876077)") in new stack
     -- Executing [s em macro-user-callerid:4] Set("DAHDI/7-1", "AMPUSER=") 
in new stack
     -- Executing [s em macro-user-callerid:5] Set("DAHDI/7-1", 
"AMPUSERCIDNAME=") in new stack
     -- Executing [s em macro-user-callerid:6] GotoIf("DAHDI/7-1", 
"1?report") in new stack
     -- Goto (macro-user-callerid,s,10)
     -- Executing [s em macro-user-callerid:10] GotoIf("DAHDI/7-1", 
"0?continue") in new stack
     -- Executing [s em macro-user-callerid:11] Set("DAHDI/7-1", 
"__TTL=64") in new stack
     -- Executing [s em macro-user-callerid:12] GotoIf("DAHDI/7-1", 
"1?continue") in new stack
     -- Goto (macro-user-callerid,s,19)
     -- Executing [s em macro-user-callerid:19] Set("DAHDI/7-1", 
"CALLERID(number)=00017778876077") in new stack
     -- Executing [s em macro-user-callerid:20] Set("DAHDI/7-1", 
"CALLERID(name)=00017778876077") in new stack
     -- Executing [s em macro-user-callerid:21] NoOp("DAHDI/7-1", "Using 
CallerID "00017778876077" <00017778876077>") in new stack
     -- Executing [9090 em from-did-direct:3] Set("DAHDI/7-1", 
"__EXTTOCALL=9090") in new stack
     -- Executing [9090 em from-did-direct:4] GotoIf("DAHDI/7-1", 
"1?skipdb") in new stack
     -- Goto (from-did-direct,9090,6)
     -- Executing [9090 em from-did-direct:6] Set("DAHDI/7-1", "__NODEST=") 
in new stack
     -- Executing [9090 em from-did-direct:7] Set("DAHDI/7-1", 
"__BLKVM_OVERRIDE=BLKVM/9090/DAHDI/7-1") in new stack
     -- Executing [9090 em from-did-direct:8] Set("DAHDI/7-1", 
"__BLKVM_BASE=9090") in new stack
     -- Executing [9090 em from-did-direct:9] Set("DAHDI/7-1", 
"DB(BLKVM/9090/DAHDI/7-1)=TRUE") in new stack
     -- Executing [9090 em from-did-direct:10] Set("DAHDI/7-1", 
"RRNODEST=") in new stack
     -- Executing [9090 em from-did-direct:11] Set("DAHDI/7-1", 
"__NODEST=9090") in new stack
     -- Executing [9090 em from-did-direct:12] GosubIf("DAHDI/7-1", 
"0?sub-fmsetcid,s,1") in new stack
     -- Executing [9090 em from-did-direct:13] Set("DAHDI/7-1", 
"RecordMethod=Group") in new stack
     -- Executing [9090 em from-did-direct:14] Macro("DAHDI/7-1", 
"record-enable,9090-9090,Group") in new stack
     -- Executing [s em macro-record-enable:1] GotoIf("DAHDI/7-1", 
"1?check") in new stack
     -- Goto (macro-record-enable,s,4)
     -- Executing [s em macro-record-enable:4] ExecIf("DAHDI/7-1", 
"0?MacroExit()") in new stack
     -- Executing [s em macro-record-enable:5] GotoIf("DAHDI/7-1", 
"1?Group:OUT") in new stack
     -- Goto (macro-record-enable,s,6)
     -- Executing [s em macro-record-enable:6] Set("DAHDI/7-1", 
"LOOPCNT=2") in new stack
     -- Executing [s em macro-record-enable:7] Set("DAHDI/7-1", "ITER=1") 
in new stack
     -- Executing [s em macro-record-enable:8] GotoIf("DAHDI/7-1", 
"1?continue") in new stack
     -- Goto (macro-record-enable,s,13)
     -- Executing [s em macro-record-enable:13] Set("DAHDI/7-1", "ITER=2") 
in new stack
     -- Executing [s em macro-record-enable:14] GotoIf("DAHDI/7-1", 
"1?begin") in new stack
     -- Goto (macro-record-enable,s,8)
     -- Executing [s em macro-record-enable:8] GotoIf("DAHDI/7-1", 
"1?continue") in new stack
     -- Goto (macro-record-enable,s,13)
     -- Executing [s em macro-record-enable:13] Set("DAHDI/7-1", "ITER=3") 
in new stack
     -- Executing [s em macro-record-enable:14] GotoIf("DAHDI/7-1", 
"0?begin") in new stack
     -- Executing [s em macro-record-enable:15] GotoIf("DAHDI/7-1", "0?IN") 
in new stack
     -- Executing [s em macro-record-enable:16] ExecIf("DAHDI/7-1", 
"1?MacroExit()") in new stack
     -- Executing [9090 em from-did-direct:15] Set("DAHDI/7-1", 
"RingGroupMethod=ringallv2") in new stack
     -- Executing [9090 em from-did-direct:16] Set("DAHDI/7-1", 
"_FMGRP=9090") in new stack
     -- Executing [9090 em from-did-direct:17] GotoIf("DAHDI/7-1", 
"0?doconfirm") in new stack
     -- Executing [9090 em from-did-direct:18] Macro("DAHDI/7-1", 
"dial,20,tr,9090") in new stack
     -- Executing [s em macro-dial:1] GotoIf("DAHDI/7-1", "1?dial") in new 
stack
     -- Goto (macro-dial,s,3)
     -- Executing [s em macro-dial:3] AGI("DAHDI/7-1", "dialparties.agi") 
in new stack
     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  dialparties.agi: Caller ID name is '00017778876077' number is 
'00017778876077'
  dialparties.agi: Methodology of ring is  'ringallv2'
     -- dialparties.agi: Added extension 9090 to extension map
     -- dialparties.agi: Extension 9090 cf is disabled
     -- dialparties.agi: Extension 9090 do not disturb is disabled
  dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
  dialparties.agi: Extension 9090 has ExtensionState: 0
     -- dialparties.agi: Checking CW and CFB status for extension 9090
     -- dialparties.agi: dbset CALLTRACE/9090 to 00017778876077
     -- dialparties.agi: Filtered ARG3: 9090
     -- <DAHDI/7-1>AGI Script dialparties.agi completed, returning 0
     -- Executing [s em macro-dial:7] Dial("DAHDI/7-1", 
"SIP/9090,22,trM(auto-blkvm)") in new stack
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
     -- Called SIP/9090
     -- SIP/9090-00000012 is ringing
     -- SIP/9090-00000012 is ringing
MFC/R2 call disconnected on channel 7
   == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/7-1' 
in macro 'dial'
   == Spawn extension (from-did-direct, 9090, 18) exited non-zero on 
'DAHDI/7-1'
     -- Executing [h em from-did-direct:1] Macro("DAHDI/7-1", 
"hangupcall,") in new stack
     -- Executing [s em macro-hangupcall:1] GotoIf("DAHDI/7-1", 
"1?endmixmoncheck") in new stack
     -- Goto (macro-hangupcall,s,9)
     -- Executing [s em macro-hangupcall:9] NoOp("DAHDI/7-1", "End of 
MIXMON check") in new stack
     -- Executing [s em macro-hangupcall:10] GotoIf("DAHDI/7-1", 
"1?nomeetmemon") in new stack
     -- Goto (macro-hangupcall,s,28)
     -- Executing [s em macro-hangupcall:28] NoOp("DAHDI/7-1", "End of 
MEETME check") in new stack
     -- Executing [s em macro-hangupcall:29] GotoIf("DAHDI/7-1", 
"1?noautomon") in new stack
     -- Goto (macro-hangupcall,s,34)
     -- Executing [s em macro-hangupcall:34] NoOp("DAHDI/7-1", 
"TOUCH_MONITOR_OUTPUT=") in new stack
     -- Executing [s em macro-hangupcall:35] GotoIf("DAHDI/7-1", 
"1?noautomon2") in new stack
     -- Goto (macro-hangupcall,s,41)
     -- Executing [s em macro-hangupcall:41] NoOp("DAHDI/7-1", 
"MONITOR_FILENAME=") in new stack
     -- Executing [s em macro-hangupcall:42] GotoIf("DAHDI/7-1", 
"1?skiprg") in new stack
     -- Goto (macro-hangupcall,s,45)
     -- Executing [s em macro-hangupcall:45] GotoIf("DAHDI/7-1", 
"0?skipblkvm") in new stack
     -- Executing [s em macro-hangupcall:46] NoOp("DAHDI/7-1", "Cleaning Up 
Block VM Flag: BLKVM/9090/DAHDI/7-1") in new stack
     -- Executing [s em macro-hangupcall:47] NoOp("DAHDI/7-1", "Deleting: 
BLKVM/9090/DAHDI/7-1 TRUE") in new stack
     -- Executing [s em macro-hangupcall:48] GotoIf("DAHDI/7-1", 
"1?theend") in new stack
     -- Goto (macro-hangupcall,s,50)
     -- Executing [s em macro-hangupcall:50] AGI("DAHDI/7-1", "hangup.agi") 
in new stack
     -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
     -- <DAHDI/7-1>AGI Script hangup.agi completed, returning 0
     -- Executing [s em macro-hangupcall:51] Hangup("DAHDI/7-1", "") in new 
stack
   == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 
'DAHDI/7-1' in macro 'hangupcall'
   == Spawn extension (from-did-direct, h, 1) exited non-zero on 'DAHDI/7-1'
MFC/R2 call end on channel 7
     -- Hungup 'DAHDI/7-1'



*Abaixo log, após atendimento:**
*

    -- Executing [s em macro-dial:7] Dial("DAHDI/3-1", 
"SIP/9090,22,trM(auto-blkvm)") in new stack
   == Using SIP RTP TOS bits 184
   == Using SIP RTP CoS mark 5
     -- Called SIP/9090
     -- SIP/9090-00000010 is ringing
     -- SIP/9090-00000010 is ringing
     -- SIP/9090-00000010 answered DAHDI/3-1
     -- Executing [s em macro-auto-blkvm:1] Set("SIP/9090-00000010", 
"__MACRO_RESULT=") in new stack
     -- Executing [s em macro-auto-blkvm:2] NoOp("SIP/9090-00000010", 
"Deleting: BLKVM/9090/DAHDI/3-1 TRUE") in new stack



*
**Arquivos:**
*
chan_dahdi.conf


[channels]
context=from-pstn
;signalling=fxs_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
callerid=1832639090
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes


;Uncomment these lines if you have problems with the disconection of 
your analog lines
;busydetect=yes
;busycount=3


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf




*dahdi_channels:**
*

; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)

switchtype=national
context=from-pstn
signalling=mfcr2
mfcr2_variant=br
mfcr2_immediate_accept=yes
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_charge_calls=yes
mfcr2_call_files=yes

language=br

group=0
channel => 1-15,17-31



*system.conf*

# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER)
span=1,1,0,cas,hdb3
echocanceller=oslec,1-15,17-31
# termtype: te
cas=1-15,17-31:1101
dchan=16
# Global data

loadzone        = br
defaultzone     = br



Atenciosamente


Premium-Info Soluções em Informática

Fone: (47) 3328-5855
Email: premium em premiuminfo.com.br <mailto:premium em premiuminfo.com.br>

WWWwww.premiuminfo.com.br <http://www.premiuminfo.com.br/>
WWWwww.facebook.com.br/premiuminfosolucoes 
<http://www.facebook.com.br/premiuminfosolucoes/>


*"A rotina é o hábito de se negar a pensar"***
****
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20131103/d3141b7d/attachment-0001.htm 
-------------- Próxima Parte ----------
Um anexo não texto foi limpo...
Nome  : assinatura_email.jpg
Tipo  : image/jpeg
Tam   : 44950 bytes
Descr.: não disponível
Url   : http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20131103/d3141b7d/attachment-0001.jpg 
-------------- Próxima Parte ----------
Um anexo não texto foi limpo...
Nome  : www.png
Tipo  : image/png
Tam   : 2268 bytes
Descr.: não disponível
Url   : http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20131103/d3141b7d/attachment-0002.png 
-------------- Próxima Parte ----------
Um anexo não texto foi limpo...
Nome  : facebook.png
Tipo  : image/png
Tam   : 1038 bytes
Descr.: não disponível
Url   : http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20131103/d3141b7d/attachment-0003.png 


Mais detalhes sobre a lista de discussão AsteriskBrasil