Hola, gracias de antemano
Tengo unos problemas para poner a andar una instalación de asterisk, la tarjeta A101 me esta regresando una alerta. Ojalá alguien pueda darme una orientación.
Aqui los detalles:
[root@asterisk ~]# wanpipemon -i w1g1 -c Ta
***** w1g1: E1 Rx Alarms (Framer) *****
ALOS: OFF | LOS: OFF
RED: ON | AIS: OFF
LOF: ON | RAI: OFF
***** w1g1: E1 Rx Alarms (LIU) *****
Short Circuit: OFF
Open Circuit: OFF
Loss of Signal: OFF
***** w1g1: E1 Tx Alarms *****
AIS: OFF | YEL: ON
***** w1g1: E1 Performance Monitoring Counters *****
Line Code Violation : 2110
Far End Block Errors : 0
CRC4 Errors : 0
FAS Errors : 0
Rx Level : > -2.5db
Según la documentación de Sangoma tengo un error en la configuracióndel Framing (http://wiki.sangoma.com/wanpipemon-T1-E1-line-alarms-0)
RED Indicates the device is in alarm
LOF (Loss of Framing). Raised after four consecutive frames with FAS error. If RAI and AIS alarms are not indicated, verify that you have selected the proper line framing (i.e T1: ESF, D4, E1:CRC4, NCRC4..etc)
Pero mi configuración me parece que es la correcta:
[root@asterisk ~]# cat /etc/wanpipe/wanpipe1.conf
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Wed Dec 6 20:29:03 UTC 2006
#
# Note: This file was generated automatically
# by /usr/local/sbin/setup-sangoma program.
#
# If you want to edit this file, it is
# recommended that you use wancfg program
# to do so.
#================================================
# Sangoma Technologies Inc.
#================================================
[devices]
wanpipe1 = WAN_AFT_TE1, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = YES
PCISLOT = 0
PCIBUS = 10
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_SIG_MODE = CAS
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL = 430
HW_RJ45_PORT_MAP = DEFAULT
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0
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 = YES # YES: receive dtmf events from hardware
TDMV_HW_FAX_DETECT = YES # 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
Este es el proceso de configuracion con wancfg_dahdi (lo pongo adjunto para no hacer más grande el post):
Además claro de modificar los archivos system.conf y dahdi-channels.conf
#Sangoma A101 port 1 [slot:0 bus:10 span:1] <wanpipe1>
span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101
#Sangoma AFT-A200 [slot:4 bus:2 span:2] <wanpipe2>
fxsks=32
echocanceller=mg2,32
fxsks=33
echocanceller=mg2,33
fxsks=34
echocanceller=mg2,34
fxsks=35
echocanceller=mg2,35
############
; Span 1: WPE1/0 "wanpipe1 card 0" RED
group=0
context=from-pstn
signaling = mfcr2
mfcr2_variant=mx
mfcr2_get_ani_first=no
mfcr2_max_ani=10
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=no
mfcr2_forced_release=no
mfcr2_charge_calls=yes
channel => 1-15,17-31
context = default
group = 0
Sin importar el error puedo ver los canales en asterisk, pero no puedo utilizarlos:
Gracias!
install_sangoma.txt