<div>Ola amigos,</div>
<div> </div>
<div>sou novo na lista, mas ja li muitos arquivos passados para resolver meus problemas.</div>
<div> </div>
<div>estou tendo uma grande deficuldade com um problema no MFC/R2,recebo ligacao normal, mas qndo vo fazer qualquer uma recebo um erro de T1_FAIL,</div>
<div> </div>
<div>ja mudei o DEFAULT_T1 no mfcr2.c e tudo mais !!! mas nao resolve, ja li muita coisa mas ainda nao consegui achar uma solucao. alguem poderia me ajudar por favor.</div>
<div> </div>
<div> </div>
<div>segue abaixo os meus arquivos de conf e os logs</div>
<div> </div>
<div>------ extensions.conf ------</div>
<div> </div>
<div>
<p>[r2-embratel]</p>
<p>;Discagem<br>exten => _XXXXXXXX,1,Dial(UniCall/g1/${EXTEN})</p>
<p>;Desligando<br>exten => t,1,Hangup()<br>exten => h,1,Hangup()</p>
<p>;Recebendo Ligacoes<br>exten => _8080,3,Background(/var/lib/asterisk/sounds/ivr/menu_apresentacao)<br>exten => _8080,4,Background(/var/lib/asterisk/sounds/ivr/menu_cliente)<br>exten => _8080,5,Background(/var/lib/asterisk/sounds/ivr/menu_nao_cliente)
</p>
<p>;Plano de voz<br>exten => _8050,1,Dial(SIP/8050,50)<br>exten => _8051,1,Dial(SIP/8051,50)<br>exten => _8052,1,Dial(SIP/8052,50)</p>
<p><br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>;; IVR<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>;Menu Cliente<br>exten => 1,1,AGI(dima-test.agi)<br>exten => 1,2,SetGlobalVar(ACCOUNTCODE=${callerid})
<br>exten => 1,3,SetVar(testcallerid=${callerid})<br>exten => 1,4,Background(/var/lib/asterisk/sounds/ivr/menu_suporte)<br>exten => 1,5,Background(/var/lib/asterisk/sounds/ivr/menu_financeiro)</p>
<p>;Menu não cliente<br>exten => 2,1,AGI(dima-test.agi)<br>exten => 2,2,SetGlobalVar(ACCOUNTCODE=${callerid})<br>exten => 2,3,SetVar(testcallerid=${callerid})<br>exten => 2,4,Background(/var/lib/asterisk/sounds/ivr/menu_aguarde_transferindo)
</p>
<p>;Suporte<br>exten => 3,1,AGI(dima-test.agi)<br>exten => 3,2,SetGlobalVar(ACCOUNTCODE=${callerid})<br>exten => 3,3,SetVar(testcallerid=${callerid})<br>exten => 3,4,Background(/var/lib/asterisk/sounds/ivr/menu_aguarde_transferindo)
</p>
<p>;Financeiro<br>exten => 4,1,AGI(dima-test.agi)<br>exten => 4,2,SetGlobalVar(ACCOUNTCODE=${callerid})<br>exten => 4,3,SetVar(testcallerid=${callerid})<br>exten => 4,4,Background(/var/lib/asterisk/sounds/ivr/menu_aguarde_transferindo)
</p>
<p>;Desligando<br>exten => #,1,AGI(dima-test.agi)<br>exten => #,2,SetGlobalVar(ACCOUNTCODE=${callerid})<br>exten => #,3,SetVar(testcallerid=${callerid})<br>exten => #,4,Background(/var/lib/asterisk/sounds/ivr/menu_desligando)
<br>exten => #,5,Hangup()</p></div>
<div> </div>
<div> </div>
<div>----- sip.conf -----</div>
<div> </div>
<div>
<p>[general]<br>context=r2-embratel<br>bindport=5060<br>bindaddr=<a href="http://0.0.0.0">0.0.0.0</a><br>srvlookup=yes<br>language=br</p>
<p>[8050]<br> type=friend<br> username=8050<br> secret=8050<br> nat=yes<br> host=dynamic<br> insecure=very<br> disallow=all<br> allow=g729</p>
<p>[8051]<br> type=friend<br> username=8051<br> secret=8051<br> nat=yes<br> host=dynamic<br> insecure=very<br> disallow=all<br> allow=ulaw<br> allow=alaw<br> allow=g729<br> allow=g723.1</p>
<p>[8052]<br> type=friend<br> username=8052<br> secret=8052<br> nat=yes<br> host=dynamic<br> insecure=very<br> disallow=all<br> allow=g729<br></p>
<p> </p>
<p>---- zaptel.conf ----</p>
<p>span=1,0,0,cas,hdb3<br>cas=1-30:1101</p>
<p>loadzone=br<br>defaultzone=br<br></p>
<p> </p>
<p>---- unical.conf -----</p>
<p>[channels]<br>loglevel=255<br>context=r2-embratel<br>usecallerid=yes<br>hidecallerid=no<br>threewaycalling=yes<br>transfer=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br>
rxgain=0.0<br>txgain=0.0<br>relaxdtmf=yes<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br>callerid=asreceived<br>musiconhold=default<br>protocolclass=mfcr2<br>protocolvariant=br,0,8,4<br>protocolend=cpe<br>group=1<br>channel => 1-30
<br>protocolclass=mfcr2<br></p>
<p> </p>
<p>--------------------------------------- LOGS CLI> ------------------------------------------------</p>
<p>-- Registered SIP '8050' at <a href="http://201.18.150.214">201.18.150.214</a> port 19472 expires 3600<br> -- Executing Dial("SIP/8050-081c3110", "UniCall/g1/33162112") in new stack<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Call control(1)
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Make call<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Making a new call with CRN 32773<br>
Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0001 -> [1/ 1/Idle /Idle ]<br> -- Called g1/33162112<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:2644 handle_uc_event: Unicall/1 event Dialing
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1101 [1/ 40/Seize /Idle ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 3 on -> [2/ 40/Group I /Idle ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 3 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 3 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 3 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 6 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 6 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 2 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:02 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 2 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 2 on -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 2 off -> [2/ 40/Group I /DNIS ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Calling party category 0x0
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 on -> [2/ 40/Group I /DNIS ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /Category ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1 off -> [2/ 40/Group I /Category ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /Category ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 8 on -> [2/ 40/Group I /Category ]<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:03 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 8 off -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0 on -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0 off -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 5 on -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 5 off -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0 on -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 on [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0 off -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 5 off [2/ 40/Group I /ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 E on -> [2/ 40/Group I /ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 4 on [2/ 40/Group I /End of ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 E off -> [2/ 40/Group I /End of ANI ]<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 4 off [2/ 40/Group I /End of ANI ]
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Far end disconnected(cause=Switching equipment congestion [42]) - state 0x40<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:2644 handle_uc_event: Unicall/1 event Far end disconnected
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:2930 handle_uc_event: CRN 32773 - far disconnected cause=Switching equipment congestion [42]<br> -- Channel 0 got hangup<br> -- UniCall/1-1 is circuit-busy<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Channel gains
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Channel switching<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Call control(6)<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Drop call(cause=Normal Clearing [16])
<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Clearing fwd<br>Jun 28 12:35:04 WARNING[31647]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 1001 -> [2/ 800/Clear fwd B /End of ANI ]
<br> -- Hungup 'UniCall/1-1'<br> == Everyone is busy/congested at this time (1:0/1/0)<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 <- 1001 [1/ 800/Clear fwd D /Idle ]
<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Call disconnected(cause=Switching equipment congestion [42]) - state 0x800<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:2644 handle_uc_event: Unicall/1 event Drop call
<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Call control(7)<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Release call<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Destroying call with CRN 32773
<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:2644 handle_uc_event: Unicall/1 event Release call<br> -- Unicall/1 released<br>Jun 28 12:35:05 WARNING[30624]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Channel echo cancel
<br> -- Executing Hangup("SIP/8050-081c3110", "") in new stack<br> == Spawn extension (r2-embratel, h, 1) exited non-zero on 'SIP/8050-081c3110'<br></p>
<p> </p></div>
<div> </div>
<div> </div>