[Asterisk-Users] MFC/R2 in Brazil

Darlon darlon.ferreira at betha.com.br
Tue Feb 7 08:43:10 MST 2006


I don´t know if the last message was with content. So, I sent again. 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:

 libsupertone-0.0.2
 libunicall-0.0.3
 libmfcr2-0.0.3
 zaptel 2.1

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. My configs are below:
I tried to change the timer in mfcr2.c to 20000. I tried a lot of
combinations in protocolvariant but, no sucess.
The Telco said me that the PBX is synchronized. Strange, no?

Please help me. Thanks a lot.


 *unicall.conf*

;call telephony channel driver
; Sample configuration file

[channels]
loglevel=255
language=br
context=default
usecallerid=yes
hidecallerid=no
restrictcid=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=no
callreturn=no
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
echotraining=800
relaxdtmf=yes
rxgain=0.0
txgain= 0.0
callgroup=1
pickupgroup=1
immediate=no
callerid=asreceived
amaflags=default
accountcode=line-E1
faxdetect=no
musiconhold=default
protocolclass=mfcr2
protocolvariant=br,10,4
protocolend=cpe
group=1
channel => 1-15
channel => 17-31


 *zaptel.conf*

 span=1,1,0,cas,hdb3
 cas=1-15:1101
 cas=17-31:1101
 loadzone = br
 defaultzone=br


;extensions.conf*

[general]
static=yes
writeprotect=no

[default]
exten => _XXXXXXXX,1,SetCallerID("Betha Sistemas",<4834318300>)
exten => _XXXXXXXX,2,Dial(Unicall/g1/${EXTEN},60,t)
exten => _3XXX,1,Macro(sipiax,IAX2/${EXTEN})?

exten=>8300,1,Goto(telefonista,s,1) ;ligação cai na fila da telefonista
exten=>8301,1,Macro(sipiax,IAX2/3001) ;ligação cai diretamente no ramal
desejado
exten=>8302,1,Goto(suporte_tributos,s,1) ;ligação cai na fila do suporte
tributos
exten=>8303,1,Goto(telefonista,s,1) ;ligação cai na fila da telefonista
exten=>8304,1,Goto(telefonista,s,1) ;ligação cai na fila da telefonista

;Fila de Atendimento Telefonista
[telefonista]
exten=>s,1,Answer(2)
exten=>s,2,SetMusicOnHold(default)
exten=>s,3,Queue(telefonista)

;Fila de Atendimento Suporte Tributos
[suporte_tributos]
exten=>s,1,Answer()
exten=>s,2,SetMusicOnHold(default)
exten=>s,3,DigitTimeout,5
exten=>s,4,ResponseTimeout,10
exten=s,5,SetVar(CALLFILENAME=i${CALLERIDNUM}-${TIMESTAMP})
;exten=>s,5,Background(fila_de_atendimento)
exten=>s,6,Queue(suporte-tributos)

;Login para a fila de atendimento
exten=>801,1,Wait,1
exten=>801,2,AgentLogin()

[macro-sipiax]
exten=>s,1,SetLanguage(${LANG})
exten=>s,2,SetCallerId(${CALLERID})
exten=>s,3,Dial(${ARG1},20,Ttr)
exten=>s,4,Goto(s-${DIALSTATUS},1)
exten=>s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})
exten=>s-NOANSWER,2,Hangup()
exten=>s-CHANUNAVAIL,1,Voicemail(u${MACRO_EXTEN}) ;O ramal está indisponível
exten=>s-CHANUNAVAIL,2,Hangup()
exten=>s-BUSY,1,Voicemail(b${MACRO_EXTEN});o ramal não está ocupadodo
exten=>s-BUSY,2,Hangup()
exten=>s-CONGESTION,1,Voicemail(b${MACRO_EXTEN});o ramal não está
´disponível
exten=>s-CONGESTION,2,Hangup()


Darlon Ferreira Bortolini
Rede/Desenvolvimento
Betha Sistemas
Fone (48) 431-0750/Ramal 1000




More information about the asterisk-users mailing list