<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><BASE
href="file://C:\Arquivos de programas\Arquivos comuns\Microsoft Shared\Papel de carta\">
<STYLE>BODY {
        BACKGROUND-POSITION: left top; MARGIN-TOP: 110px; FONT-SIZE: 10pt; COLOR: #000000; BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial
}
</STYLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff background=cid:022801c6235d$73c8d4b0$9102a8c0@reddarlon>
<DIV>
<DIV>I have installed a Digium card TE210P and unicall for use MFC/R2. I think
that it´s all right but I can´t make and receive calls. I´m using asterisk 2.1
with the patch made by José P. Leitão and the follow libs:<BR></DIV>
<DIV> libsupertone-0.0.2<BR> libunicall-0.0.3<BR> libmfcr2-0.0.3<BR> zaptel
2.1</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>My number is 34318300. The Telco send me only 8300. I see that
I receive from the Telco the first digit (8) and my asterisk answer 5, but the
Telco doesn´t receive my digit.</FONT> My configs are below:</DIV>
<DIV>I tried to change the timer in mfcr2.c to 20000. I tried a lot of
combinations in protocolvariant but, no sucess.</DIV>
<DIV> </DIV>
<DIV>Please help me. Thanks a
lot.<BR><BR><BR><STRONG> *unicall.conf*<BR></STRONG><BR>;call telephony
channel driver<BR>; Sample configuration file<BR></DIV>
<DIV>[channels]<BR>loglevel=255<BR>language=br<BR>context=default<BR>usecallerid=yes<BR>hidecallerid=no<BR>restrictcid=no<BR>callwaitingcallerid=yes<BR>threewaycalling=yes<BR>transfer=yes<BR>cancallforward=no<BR>callreturn=no<BR>echocancel=yes<BR>echocancelwhenbridged=yes<BR>
<SCRIPT><!--
D(["mb","> 21 echotraining\u003dyes<br />> 22 echotraining\u003d800<br />> 23 relaxdtmf\u003dyes<br />> 24 rxgain\u003d0.0<br />> 25 txgain\u003d 0.0<br />> 26 callgroup\u003d1<br />> 27 pickupgroup\u003d1<br />> 28 immediate\u003dno<br />> 29 callerid\u003dasreceived<br />> 30 amaflags\u003ddefault<br />> 31 accountcode\u003dline-E1<br />> 32 faxdetect\u003dno<br />> 33 musiconhold\u003ddefault<br />> 34<br />> 35 protocolclass\u003dmfcr2<br />> 36 protocolvariant\u003dbr,10,4<br />> 37 protocolend\u003dcpe<br />> 38 group\u003d1<br />> 39 channel \u003d> 1-15<br />> 40 channel \u003d> 17-31<br />><br />> *zaptel.conf*<br />><br />> span\u003d1,1,0,cas,hdb3<br />> span\u003d2,0,0,cas,hdb3<br />> cas\u003d1-15:1101<br />> cas\u003d17-31:1101<br />> loadzone \u003d br<br />> defaultzone\u003dbr<br />><br />> *extensions.conf*<br />><br />> 1 [general]<br />> 2 static\u003dyes<br />> 3 writeprotect\u003dno<br />> 4<br />> 5<br />> 6 [globals]<br />> 7 LANG\u003dpt<br />> 8 OPERADORA\u003d014 ;Brasil Telecom<br />> 9 MONITOR_EXEC\u003d/usr/bin/2wav2mp3<br />> 10<br />> 11<br />> 12 [default]<br />> 13<br />> 14 ;exten \u003d> _X.,1,NoOp,${CALLERIDNAME} ; will be empty. -<br />FACILITY<br />> IE has not been received yet.<br />> 15 ;exten \u003d> _X.,2,Wait(1) ; wait for the CO to find<br />",1]
);
//--></SCRIPT>
echotraining=yes<BR>echotraining=800<BR>relaxdtmf=yes<BR>rxgain=0.0<BR>txgain=
0.0<BR>callgroup=1<BR>pickupgroup=1<BR>immediate=no<BR>callerid=asreceived<BR>amaflags=default<BR>accountcode=line-E1<BR>faxdetect=no<BR>musiconhold=default<BR>protocolclass=mfcr2<BR>protocolvariant=br,10,4<BR>protocolend=cpe<BR>group=1<BR>channel
=> 1-15<BR>channel => 17-31<BR><BR><STRONG></STRONG></DIV>
<DIV><STRONG> *zaptel.conf*<BR></STRONG><BR> span=1,1,0,cas,hdb3<BR> cas=1-15:1101<BR> cas=17-31:1101<BR> loadzone
= br<BR> defaultzone=br<BR><BR><STRONG></STRONG></DIV>
<DIV><STRONG>;extensions.conf*<BR></STRONG><BR>[general]<BR>static=yes<BR>writeprotect=no<BR></DIV>
<DIV>[default]<BR>exten => _XXXXXXXX,1,SetCallerID("Betha
Sistemas",<4834318300>)<BR>exten =>
_XXXXXXXX,2,Dial(Unicall/g1/$<WBR>{EXTEN},60,t)<BR>exten =>
_3XXX,1,Macro(sipiax,IAX2/$<WBR>{EXTEN})�<BR></DIV>
<DIV>exten=>8300,1,Goto(telefonista<WBR>,s,1) ;ligação cai na fila
da telefonista<BR>exten=>8301,1,Macro(sipiax<WBR>,IAX2/3001) ;ligação
cai diretamente no ramal
desejado<BR>exten=>8302,1,Goto(suporte<WBR>_tributos,s,1) ;ligação cai na
fila do suporte tributos<BR>exten=>8303,1,Goto(telefonista<WBR>,s,1)
;ligação cai na fila
da telefonista<BR>exten=>8304,1,Goto(telefonista<WBR>,s,1) ;ligação cai
na fila da telefonista<BR></DIV>
<DIV>
<DIV>;Fila de Atendimento
Telefonista<BR><STRONG>[telefonista]<BR></STRONG>exten=>s,1,Answer(2)<BR>exten=>s,2,SetMusicOnHold(default)<BR>exten=>s,3,Queue(telefonista)<BR></DIV>
<DIV>;Fila de Atendimento Suporte
Tributos<BR>[suporte_tributos]<BR>exten=>s,1,Answer()<BR>exten=>s,2,SetMusicOnHold(default)<BR>exten=>s,3,DigitTimeout,5<BR>exten=>s,4,ResponseTimeout,10<BR>exten=s,5,SetVar(CALLFILENAME=i${CALLERIDNUM}-${TIMESTAMP})<BR>;exten=>s,5,Background(fila_de_atendimento)<BR>exten=>s,6,Queue(suporte-tributos)<BR></DIV>
<DIV>;Login para a fila de
atendimento<BR>exten=>801,1,Wait,1<BR>exten=>801,2,AgentLogin()<BR><BR>[macro-sipiax]<BR>exten=>s,1,SetLanguage(${LANG})<BR>exten=>s,2,SetCallerId(${CALLERID})<BR>exten=>s,3,Dial(${ARG1},20,Ttr)<BR>exten=>s,4,Goto(s-${DIALSTATUS},1)<BR>exten=>s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})<BR>exten=>s-NOANSWER,2,Hangup()<BR>exten=>s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN})
;O ramal
está indisponível<BR>exten=>s-CHANUNAVAIL,2,Hangup()<BR>exten=>s-BUSY,1,Voicemail(b${MACRO_EXTEN});o
ramal não
está ocupadodo<BR>exten=>s-BUSY,2,Hangup()<BR>exten=>s-CONGESTION,1,Voicemail(b${MACRO_EXTEN});o
ramal não está ´disponível</DIV>
<DIV>exten=>s-CONGESTION,2,Hangup()</DIV></DIV></DIV>
<DIV><BR><FONT face="Arial, Helvetica, sans-serif" size=2>
<P><B>Darlon Ferreira Bortolini</B><BR>Rede/Desenvolvimento<BR>Betha
Sistemas<BR>Fone (48) 431-0750/Ramal 1000<BR><BR></FONT></P></DIV></BODY></HTML>