<!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&nbsp;the follow libs:<BR></DIV>
<DIV>&nbsp;libsupertone-0.0.2<BR>&nbsp;libunicall-0.0.3<BR>&nbsp;libmfcr2-0.0.3<BR>&nbsp;zaptel 
2.1</DIV>
<DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;My configs are below:</DIV>
<DIV>I&nbsp;tried to change the timer in mfcr2.c to 20000. I tried a lot of 
combinations in protocolvariant but, no sucess.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help me. Thanks a 
lot.<BR><BR><BR><STRONG>&nbsp;*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","&gt; &nbsp; &nbsp; &nbsp;21 echotraining\u003dyes<br />&gt; &nbsp; &nbsp; &nbsp;22 echotraining\u003d800<br />&gt; &nbsp; &nbsp; &nbsp;23 relaxdtmf\u003dyes<br />&gt; &nbsp; &nbsp; &nbsp;24 rxgain\u003d0.0<br />&gt; &nbsp; &nbsp; &nbsp;25 txgain\u003d 0.0<br />&gt; &nbsp; &nbsp; &nbsp;26 callgroup\u003d1<br />&gt; &nbsp; &nbsp; &nbsp;27 pickupgroup\u003d1<br />&gt; &nbsp; &nbsp; &nbsp;28 immediate\u003dno<br />&gt; &nbsp; &nbsp; &nbsp;29 callerid\u003dasreceived<br />&gt; &nbsp; &nbsp; &nbsp;30 amaflags\u003ddefault<br />&gt; &nbsp; &nbsp; &nbsp;31 accountcode\u003dline-E1<br />&gt; &nbsp; &nbsp; &nbsp;32 faxdetect\u003dno<br />&gt; &nbsp; &nbsp; &nbsp;33 musiconhold\u003ddefault<br />&gt; &nbsp; &nbsp; &nbsp;34<br />&gt; &nbsp; &nbsp; &nbsp;35 protocolclass\u003dmfcr2<br />&gt; &nbsp; &nbsp; &nbsp;36 protocolvariant\u003dbr,10,4<br />&gt; &nbsp; &nbsp; &nbsp;37 protocolend\u003dcpe<br />&gt; &nbsp; &nbsp; &nbsp;38 group\u003d1<br />&gt; &nbsp; &nbsp; &nbsp;39 channel \u003d&gt; 1-15<br />&gt; &nbsp; &nbsp; &nbsp;40 channel \u003d&gt; 17-31<br />&gt;<br />&gt; *zaptel.conf*<br />&gt;<br />&gt; span\u003d1,1,0,cas,hdb3<br />&gt; span\u003d2,0,0,cas,hdb3<br />&gt; cas\u003d1-15:1101<br />&gt; cas\u003d17-31:1101<br />&gt; loadzone \u003d br<br />&gt; defaultzone\u003dbr<br />&gt;<br />&gt; *extensions.conf*<br />&gt;<br />&gt; &nbsp; &nbsp; 1 [general]<br />&gt; &nbsp; &nbsp; &nbsp; 2 static\u003dyes<br />&gt; &nbsp; &nbsp; &nbsp; 3 writeprotect\u003dno<br />&gt; &nbsp; &nbsp; &nbsp; 4<br />&gt; &nbsp; &nbsp; &nbsp; 5<br />&gt; &nbsp; &nbsp; &nbsp; 6 [globals]<br />&gt; &nbsp; &nbsp; &nbsp; 7 LANG\u003dpt<br />&gt; &nbsp; &nbsp; &nbsp; 8 OPERADORA\u003d014 ;Brasil Telecom<br />&gt; &nbsp; &nbsp; &nbsp; 9 MONITOR_EXEC\u003d/usr/bin/2wav2mp3<br />&gt; &nbsp; &nbsp; &nbsp;10<br />&gt; &nbsp; &nbsp; &nbsp;11<br />&gt; &nbsp; &nbsp; &nbsp;12 [default]<br />&gt; &nbsp; &nbsp; &nbsp;13<br />&gt; &nbsp; &nbsp; &nbsp;14 ;exten \u003d&gt; _X.,1,NoOp,${CALLERIDNAME} &nbsp; &nbsp; ; will be empty. -<br />FACILITY<br />&gt; IE has not been received yet.<br />&gt; &nbsp; &nbsp; &nbsp;15 ;exten \u003d&gt; _X.,2,Wait(1) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; 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 
=&gt; 1-15<BR>channel =&gt; 17-31<BR><BR><STRONG></STRONG></DIV>
<DIV><STRONG>&nbsp;*zaptel.conf*<BR></STRONG><BR>&nbsp;span=1,1,0,cas,hdb3<BR>&nbsp;cas=1-15:1101<BR>&nbsp;cas=17-31:1101<BR>&nbsp;loadzone 
= br<BR>&nbsp;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 =&gt; _XXXXXXXX,1,SetCallerID("Betha 
Sistemas",&lt;4834318300&gt;)<BR>exten =&gt; 
_XXXXXXXX,2,Dial(Unicall/g1/$<WBR>{EXTEN},60,t)<BR>exten =&gt; 
_3XXX,1,Macro(sipiax,IAX2/$<WBR>{EXTEN})&#65533;<BR></DIV>
<DIV>exten=&gt;8300,1,Goto(telefonista<WBR>,s,1) ;ligação cai na fila 
da&nbsp;telefonista<BR>exten=&gt;8301,1,Macro(sipiax<WBR>,IAX2/3001) ;ligação 
cai diretamente no&nbsp;ramal 
desejado<BR>exten=&gt;8302,1,Goto(suporte<WBR>_tributos,s,1) ;ligação cai na 
fila do&nbsp;suporte tributos<BR>exten=&gt;8303,1,Goto(telefonista<WBR>,s,1) 
;ligação cai na fila 
da&nbsp;telefonista<BR>exten=&gt;8304,1,Goto(telefonista<WBR>,s,1) ;ligação cai 
na fila da&nbsp;telefonista<BR></DIV>
<DIV>
<DIV>;Fila de Atendimento 
Telefonista<BR><STRONG>[telefonista]<BR></STRONG>exten=&gt;s,1,Answer(2)<BR>exten=&gt;s,2,SetMusicOnHold(default)<BR>exten=&gt;s,3,Queue(telefonista)<BR></DIV>
<DIV>;Fila de Atendimento Suporte 
Tributos<BR>[suporte_tributos]<BR>exten=&gt;s,1,Answer()<BR>exten=&gt;s,2,SetMusicOnHold(default)<BR>exten=&gt;s,3,DigitTimeout,5<BR>exten=&gt;s,4,ResponseTimeout,10<BR>exten=s,5,SetVar(CALLFILENAME=i${CALLERIDNUM}-${TIMESTAMP})<BR>;exten=&gt;s,5,Background(fila_de_atendimento)<BR>exten=&gt;s,6,Queue(suporte-tributos)<BR></DIV>
<DIV>;Login para a fila de 
atendimento<BR>exten=&gt;801,1,Wait,1<BR>exten=&gt;801,2,AgentLogin()<BR><BR>[macro-sipiax]<BR>exten=&gt;s,1,SetLanguage(${LANG})<BR>exten=&gt;s,2,SetCallerId(${CALLERID})<BR>exten=&gt;s,3,Dial(${ARG1},20,Ttr)<BR>exten=&gt;s,4,Goto(s-${DIALSTATUS},1)<BR>exten=&gt;s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})<BR>exten=&gt;s-NOANSWER,2,Hangup()<BR>exten=&gt;s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN}) 
;O ramal 
está&nbsp;indisponível<BR>exten=&gt;s-CHANUNAVAIL,2,Hangup()<BR>exten=&gt;s-BUSY,1,Voicemail(b${MACRO_EXTEN});o 
ramal não 
está&nbsp;ocupadodo<BR>exten=&gt;s-BUSY,2,Hangup()<BR>exten=&gt;s-CONGESTION,1,Voicemail(b${MACRO_EXTEN});o 
ramal não está&nbsp;´disponível</DIV>
<DIV>exten=&gt;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>