<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body wsmode="reply" bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
</div>
<blockquote cite="mid:5276C7E8.6050903@premiuminfo.com.br"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<div class="moz-signature">
<div id="fonte"> <br>
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, <br>
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. <br>
<br>
<br>
Alguém já passou por essa situação<br>
<br>
<br>
<b>Abaixo log:</b><br>
<br>
Verbosity is at least 3<br>
New MFC/R2 call detected on chan 7.<br>
MFC/R2 call offered on chan 7. ANI = 00017778876077, DNIS =
9090, Category = National Subscriber<br>
MFC/R2 call has been accepted on backward channel 7<br>
-- Executing [9090@from-pstn:1] Set("DAHDI/7-1",
"__FROM_DID=9090") in new stack<br>
-- Executing [9090@from-pstn:2] Gosub("DAHDI/7-1",
"app-blacklist-check,s,1") in new stack<br>
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/7-1",
"0?blacklisted") in new stack<br>
-- Executing [s@app-blacklist-check:2] Set("DAHDI/7-1",
"CALLED_BLACKLIST=1") in new stack<br>
-- Executing [s@app-blacklist-check:3] Return("DAHDI/7-1",
"") in new stack<br>
-- Executing [9090@from-pstn:3] ExecIf("DAHDI/7-1", "0
?Set(CALLERID(name)=00017778876077)") in new stack<br>
-- Executing [9090@from-pstn:4] Set("DAHDI/7-1",
"__CALLINGPRES_SV=allowed_not_screened") in new stack<br>
-- Executing [9090@from-pstn:5] Set("DAHDI/7-1",
"CALLERPRES()=allowed_not_screened") in new stack<br>
-- Executing [9090@from-pstn:6] Goto("DAHDI/7-1",
"from-did-direct,9090,1") in new stack<br>
-- Goto (from-did-direct,9090,1)<br>
-- Executing [9090@from-did-direct:1] GotoIf("DAHDI/7-1",
"0?ext-local,9090,1") in new stack<br>
-- Executing [9090@from-did-direct:2] Macro("DAHDI/7-1",
"user-callerid,") in new stack<br>
-- Executing [s@macro-user-callerid:1] Set("DAHDI/7-1",
"AMPUSER=00017778876077") in new stack<br>
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/7-1",
"0?report") in new stack<br>
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/7-1",
"1?Set(REALCALLERIDNUM=00017778876077)") in new stack<br>
-- Executing [s@macro-user-callerid:4] Set("DAHDI/7-1",
"AMPUSER=") in new stack<br>
-- Executing [s@macro-user-callerid:5] Set("DAHDI/7-1",
"AMPUSERCIDNAME=") in new stack<br>
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/7-1",
"1?report") in new stack<br>
-- Goto (macro-user-callerid,s,10)<br>
-- Executing [s@macro-user-callerid:10]
GotoIf("DAHDI/7-1", "0?continue") in new stack<br>
-- Executing [s@macro-user-callerid:11] Set("DAHDI/7-1",
"__TTL=64") in new stack<br>
-- Executing [s@macro-user-callerid:12]
GotoIf("DAHDI/7-1", "1?continue") in new stack<br>
-- Goto (macro-user-callerid,s,19)<br>
-- Executing [s@macro-user-callerid:19] Set("DAHDI/7-1",
"CALLERID(number)=00017778876077") in new stack<br>
-- Executing [s@macro-user-callerid:20] Set("DAHDI/7-1",
"CALLERID(name)=00017778876077") in new stack<br>
-- Executing [s@macro-user-callerid:21] NoOp("DAHDI/7-1",
"Using CallerID "00017778876077" <00017778876077>") in
new stack<br>
-- Executing [9090@from-did-direct:3] Set("DAHDI/7-1",
"__EXTTOCALL=9090") in new stack<br>
-- Executing [9090@from-did-direct:4] GotoIf("DAHDI/7-1",
"1?skipdb") in new stack<br>
-- Goto (from-did-direct,9090,6)<br>
-- Executing [9090@from-did-direct:6] Set("DAHDI/7-1",
"__NODEST=") in new stack<br>
-- Executing [9090@from-did-direct:7] Set("DAHDI/7-1",
"__BLKVM_OVERRIDE=BLKVM/9090/DAHDI/7-1") in new stack<br>
-- Executing [9090@from-did-direct:8] Set("DAHDI/7-1",
"__BLKVM_BASE=9090") in new stack<br>
-- Executing [9090@from-did-direct:9] Set("DAHDI/7-1",
"DB(BLKVM/9090/DAHDI/7-1)=TRUE") in new stack<br>
-- Executing [9090@from-did-direct:10] Set("DAHDI/7-1",
"RRNODEST=") in new stack<br>
-- Executing [9090@from-did-direct:11] Set("DAHDI/7-1",
"__NODEST=9090") in new stack<br>
-- Executing [9090@from-did-direct:12]
GosubIf("DAHDI/7-1", "0?sub-fmsetcid,s,1") in new stack<br>
-- Executing [9090@from-did-direct:13] Set("DAHDI/7-1",
"RecordMethod=Group") in new stack<br>
-- Executing [9090@from-did-direct:14] Macro("DAHDI/7-1",
"record-enable,9090-9090,Group") in new stack<br>
-- Executing [s@macro-record-enable:1] GotoIf("DAHDI/7-1",
"1?check") in new stack<br>
-- Goto (macro-record-enable,s,4)<br>
-- Executing [s@macro-record-enable:4] ExecIf("DAHDI/7-1",
"0?MacroExit()") in new stack<br>
-- Executing [s@macro-record-enable:5] GotoIf("DAHDI/7-1",
"1?Group:OUT") in new stack<br>
-- Goto (macro-record-enable,s,6)<br>
-- Executing [s@macro-record-enable:6] Set("DAHDI/7-1",
"LOOPCNT=2") in new stack<br>
-- Executing [s@macro-record-enable:7] Set("DAHDI/7-1",
"ITER=1") in new stack<br>
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/7-1",
"1?continue") in new stack<br>
-- Goto (macro-record-enable,s,13)<br>
-- Executing [s@macro-record-enable:13] Set("DAHDI/7-1",
"ITER=2") in new stack<br>
-- Executing [s@macro-record-enable:14]
GotoIf("DAHDI/7-1", "1?begin") in new stack<br>
-- Goto (macro-record-enable,s,8)<br>
-- Executing [s@macro-record-enable:8] GotoIf("DAHDI/7-1",
"1?continue") in new stack<br>
-- Goto (macro-record-enable,s,13)<br>
-- Executing [s@macro-record-enable:13] Set("DAHDI/7-1",
"ITER=3") in new stack<br>
-- Executing [s@macro-record-enable:14]
GotoIf("DAHDI/7-1", "0?begin") in new stack<br>
-- Executing [s@macro-record-enable:15]
GotoIf("DAHDI/7-1", "0?IN") in new stack<br>
-- Executing [s@macro-record-enable:16]
ExecIf("DAHDI/7-1", "1?MacroExit()") in new stack<br>
-- Executing [9090@from-did-direct:15] Set("DAHDI/7-1",
"RingGroupMethod=ringallv2") in new stack<br>
-- Executing [9090@from-did-direct:16] Set("DAHDI/7-1",
"_FMGRP=9090") in new stack<br>
-- Executing [9090@from-did-direct:17] GotoIf("DAHDI/7-1",
"0?doconfirm") in new stack<br>
-- Executing [9090@from-did-direct:18] Macro("DAHDI/7-1",
"dial,20,tr,9090") in new stack<br>
-- Executing [s@macro-dial:1] GotoIf("DAHDI/7-1",
"1?dial") in new stack<br>
-- Goto (macro-dial,s,3)<br>
-- Executing [s@macro-dial:3] AGI("DAHDI/7-1",
"dialparties.agi") in new stack<br>
-- Launched AGI Script
/var/lib/asterisk/agi-bin/dialparties.agi<br>
dialparties.agi: Starting New Dialparties.agi<br>
dialparties.agi: Caller ID name is '00017778876077' number is
'00017778876077'<br>
dialparties.agi: Methodology of ring is 'ringallv2'<br>
-- dialparties.agi: Added extension 9090 to extension map<br>
-- dialparties.agi: Extension 9090 cf is disabled<br>
-- dialparties.agi: Extension 9090 do not disturb is
disabled<br>
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)<br>
dialparties.agi: Extension 9090 has ExtensionState: 0<br>
-- dialparties.agi: Checking CW and CFB status for
extension 9090<br>
-- dialparties.agi: dbset CALLTRACE/9090 to 00017778876077<br>
-- dialparties.agi: Filtered ARG3: 9090<br>
-- <DAHDI/7-1>AGI Script dialparties.agi completed,
returning 0<br>
-- Executing [s@macro-dial:7] Dial("DAHDI/7-1",
"SIP/9090,22,trM(auto-blkvm)") in new stack<br>
== Using SIP RTP TOS bits 184<br>
== Using SIP RTP CoS mark 5<br>
-- Called SIP/9090<br>
-- SIP/9090-00000012 is ringing<br>
-- SIP/9090-00000012 is ringing<br>
MFC/R2 call disconnected on channel 7<br>
== Spawn extension (macro-dial, s, 7) exited non-zero on
'DAHDI/7-1' in macro 'dial'<br>
== Spawn extension (from-did-direct, 9090, 18) exited
non-zero on 'DAHDI/7-1'<br>
-- Executing [h@from-did-direct:1] Macro("DAHDI/7-1",
"hangupcall,") in new stack<br>
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/7-1",
"1?endmixmoncheck") in new stack<br>
-- Goto (macro-hangupcall,s,9)<br>
-- Executing [s@macro-hangupcall:9] NoOp("DAHDI/7-1", "End
of MIXMON check") in new stack<br>
-- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/7-1",
"1?nomeetmemon") in new stack<br>
-- Goto (macro-hangupcall,s,28)<br>
-- Executing [s@macro-hangupcall:28] NoOp("DAHDI/7-1",
"End of MEETME check") in new stack<br>
-- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/7-1",
"1?noautomon") in new stack<br>
-- Goto (macro-hangupcall,s,34)<br>
-- Executing [s@macro-hangupcall:34] NoOp("DAHDI/7-1",
"TOUCH_MONITOR_OUTPUT=") in new stack<br>
-- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/7-1",
"1?noautomon2") in new stack<br>
-- Goto (macro-hangupcall,s,41)<br>
-- Executing [s@macro-hangupcall:41] NoOp("DAHDI/7-1",
"MONITOR_FILENAME=") in new stack<br>
-- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/7-1",
"1?skiprg") in new stack<br>
-- Goto (macro-hangupcall,s,45)<br>
-- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/7-1",
"0?skipblkvm") in new stack<br>
-- Executing [s@macro-hangupcall:46] NoOp("DAHDI/7-1",
"Cleaning Up Block VM Flag: BLKVM/9090/DAHDI/7-1") in new
stack<br>
-- Executing [s@macro-hangupcall:47] NoOp("DAHDI/7-1",
"Deleting: BLKVM/9090/DAHDI/7-1 TRUE") in new stack<br>
-- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/7-1",
"1?theend") in new stack<br>
-- Goto (macro-hangupcall,s,50)<br>
-- Executing [s@macro-hangupcall:50] AGI("DAHDI/7-1",
"hangup.agi") in new stack<br>
-- Launched AGI Script
/var/lib/asterisk/agi-bin/hangup.agi<br>
-- <DAHDI/7-1>AGI Script hangup.agi completed,
returning 0<br>
-- Executing [s@macro-hangupcall:51] Hangup("DAHDI/7-1",
"") in new stack<br>
== Spawn extension (macro-hangupcall, s, 51) exited non-zero
on 'DAHDI/7-1' in macro 'hangupcall'<br>
== Spawn extension (from-did-direct, h, 1) exited non-zero
on 'DAHDI/7-1'<br>
MFC/R2 call end on channel 7<br>
-- Hungup 'DAHDI/7-1'<br>
<br>
<br>
<br>
<b>Abaixo log, após atendimento:</b><b><br>
</b><br>
<br>
-- Executing [s@macro-dial:7] Dial("DAHDI/3-1",
"SIP/9090,22,trM(auto-blkvm)") in new stack<br>
== Using SIP RTP TOS bits 184<br>
== Using SIP RTP CoS mark 5<br>
-- Called SIP/9090<br>
-- SIP/9090-00000010 is ringing<br>
-- SIP/9090-00000010 is ringing<br>
-- SIP/9090-00000010 answered DAHDI/3-1<br>
-- Executing [s@macro-auto-blkvm:1]
Set("SIP/9090-00000010", "__MACRO_RESULT=") in new stack<br>
-- Executing [s@macro-auto-blkvm:2]
NoOp("SIP/9090-00000010", "Deleting: BLKVM/9090/DAHDI/3-1
TRUE") in new stack<br>
<br>
<br>
<br>
<big><big><b><br>
</b><b>Arquivos:</b><b><br>
</b></big></big><br>
chan_dahdi.conf<br>
<br>
<br>
[channels]<br>
context=from-pstn<br>
;signalling=fxs_ks<br>
rxwink=300 ; Atlas seems to use long (250ms)
winks<br>
usecallerid=yes<br>
callerid=1832639090<br>
hidecallerid=no<br>
callwaiting=yes<br>
usecallingpres=yes<br>
callwaitingcallerid=yes<br>
threewaycalling=yes<br>
transfer=yes<br>
canpark=yes<br>
cancallforward=yes<br>
callreturn=yes<br>
echocancel=yes<br>
echocancelwhenbridged=yes<br>
faxdetect=incoming<br>
echotraining=800<br>
rxgain=0.0<br>
txgain=0.0<br>
callgroup=1<br>
pickupgroup=1<br>
relaxdtmf=yes<br>
<br>
<br>
;Uncomment these lines if you have problems with the
disconection of your analog lines<br>
;busydetect=yes<br>
;busycount=3<br>
<br>
<br>
immediate=no<br>
<br>
#include dahdi-channels.conf<br>
#include chan_dahdi_additional.conf<br>
<br>
<br>
<br>
<br>
<b>dahdi_channels:</b><b><br>
</b><br>
<br>
; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
(MASTER) <br>
<br>
switchtype=national<br>
context=from-pstn<br>
signalling=mfcr2<br>
mfcr2_variant=br<br>
mfcr2_immediate_accept=yes<br>
mfcr2_get_ani_first=no<br>
mfcr2_max_ani=20<br>
mfcr2_max_dnis=4<br>
mfcr2_category=national_subscriber<br>
mfcr2_allow_collect_calls=no<br>
mfcr2_double_answer=no<br>
mfcr2_charge_calls=yes<br>
mfcr2_call_files=yes<br>
<br>
language=br<br>
<br>
group=0<br>
channel => 1-15,17-31<br>
<br>
<br>
<br>
<b>system.conf</b><br>
<br>
# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
(MASTER)<br>
span=1,1,0,cas,hdb3<br>
echocanceller=oslec,1-15,17-31<br>
# termtype: te<br>
cas=1-15,17-31:1101<br>
dchan=16<br>
# Global data<br>
<br>
loadzone = br<br>
defaultzone = br<br>
<br>
<br>
<br>
Atenciosamente <br>
<br>
<br>
Premium-Info Soluções em Informática <br>
<br>
Fone: (47) 3328-5855 <br>
Email: <a moz-do-not-send="true"
href="mailto:premium@premiuminfo.com.br">premium@premiuminfo.com.br</a>
<br>
<br>
<a moz-do-not-send="true"
href="http://www.premiuminfo.com.br/"><img
src="cid:part2.03030909.06050600@premiuminfo.com.br"
style="border: none;" alt="WWW" height="32" width="32">www.premiuminfo.com.br
</a> <br>
<a moz-do-not-send="true"
href="http://www.facebook.com.br/premiuminfosolucoes/"><img
src="cid:part4.05090507.04050109@premiuminfo.com.br"
style="border: none;" alt="WWW" height="32" width="32">www.facebook.com.br/premiuminfosolucoes
</a> <br>
<br>
<br>
<b>“A rotina é o hábito de se negar a pensar”<b> </b></b></div>
<b><b> </b></b></div>
</blockquote>
<br>
</body>
</html>