[AsteriskBrasil] Sangoma mfcr2 com GVT

João Marcelo Queiroz jmbq em bol.com.br
Segunda Dezembro 26 21:05:25 BRST 2011


Estou apanhando um pouco para configurar uma Sangoma A101 com o E1 (R2) da GVT, estou deixando passar alguma besteira. 
Abaixo seguem os arquivos de configuração, agradeceria qualquer dica.

O link está sincronizado (sem alarmes no dahdi_tool), mas a chamada não entra, sequer aparece no CLI.


cat /etc/asterisk/chan_dahdi.conf
[channels]

;Sangoma A101 port 1 [slot:0 bus:48 span:1] <wanpipe1> GVT
group=0
callgroup=0
pickupgroup=0
rxgain=0.0
txgain=0.0

callerid = XXXXXXXX
cid_number = 500
language = br
transfer = yes

;Configuracao para MFC/R2
signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=no
mfcr2_double_answer=yes
mfcr2_immediate_accept=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
;mfcr2_advanced_protocol_file=/etc/r2proto.conf

context=from-pstn
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
channel => 1-15
channel => 17-31


cat /etc/dahdi/system.conf
loadzone=br
defaultzone=br

#Sangoma A102 port 1 [slot:0 bus:48 span:1] <wanpipe1>
span=1,0,1,cas,hdb3
cas=1-15:1101
cas=17-31:1101


cat /etc/wanpipe/wanpipe1.conf

[devices]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE 	= AFT
S514CPU 	= A
CommPort 	= PRI
AUTO_PCISLOT 	= NO
PCISLOT 	= 4
PCIBUS  	= 3
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE		= 1
TE_CLOCK 	= NORMAL
TE_REF_CLOCK    = 0

TE_HIGHIMPEDANCE	= NO
TE_SIG_MODE = CAS
TE_RX_SLEVEL = 430
LBO = 120OH
FE_TXTRISTATE	= NO
MTU 		= 1500
UDPPORT		= 9000
TTL		= 255
IGNORE_FRONT_END	= NO
TDMV_SPAN		= 1
TDMV_DCHAN = 16
TE_AIS_MAINTENANCE = NO         #NO: defualt  YES: Start port in AIS Blue Alarm and keep line down
                                #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
								#wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode  
TDMV_HW_DTMF		= NO		# YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT		= NO		# YES: receive fax 1100hz events from hardware
HWEC_OPERATION_MODE     = OCT_NORMAL    # OCT_NORMAL: echo cancelation enabled with nlp (default) 
										# OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
										# OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions. 
HWEC_DTMF_REMOVAL       = NO    # NO: default  YES: remove dtmf out of incoming media (must have hwdtmf enabled)
HWEC_NOISE_REDUCTION    = NO    # NO: default  YES: reduces noise on the line - could break fax
HWEC_ACUSTIC_ECHO       = NO    # NO: default  YES: enables acustic echo cancelation
HWEC_NLP_DISABLE        = NO    # NO: default  YES: guarantees software tone detection (possible echo)   
HWEC_TX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)
HWEC_RX_AUTO_GAIN       = 0     # 0: disable   -40-0: default tx audio level to be maintained (-20 default)  
HWEC_TX_GAIN            = 0		# 0: disable   -24-24: db values to be applied to tx signal
HWEC_RX_GAIN            = 0		# 0: disable   -24-24: db values to be applied to tx signal

[w1g1]
ACTIVE_CH	= ALL
TDMV_HWEC	= YES
MTU 		= 8





Atenciosamente,

João Marcelo Queiroz



-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20111226/6caa0edb/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil