Проблемы с картой Sangoma A102
Добавлено: 05 фев 2014, 14:50
Приветствую,
Вкратце проблема (до вчера работало лет 5, конфиг не менялся):
Удивило это (пусто!):
Конфиг wanpipe1 и wanpipe2
Конфиги zapata.conf и zaptel.conf:
Не могу понять, не работает сама карта на аппаратном уровне или проблема с wanpipe?
Если в wanpipe поможет ли его пересборка\переустановка?
Интерфейсов самой карты нет в ifconfig.
Канал E1 проверял через провайдера путём замыкания порта заглушкой (Tx на Rx), всё работает. Линки на карте горят зелёным. Звонки с внешних (например мобильных) сразу отваливаются.
P.S.
Вкратце проблема (до вчера работало лет 5, конфиг не менялся):
Код: Выделить всё
FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE
Код: Выделить всё
Asterisk 1.4.21.2
Код: Выделить всё
Zaptel Version: 1.4.0-BSD
Код: Выделить всё
[root@ /usr/local/sbin]# wanrouter hwprobe
-------------------------------
| Wanpipe Hardware Probe Info |
-------------------------------
Card Cnt:
Код: Выделить всё
[root@ /usr/local/sbin]# ztcfg -vvvv
Keyword: [loadzone], Value: [ru]
Keyword: [defaultzone], Value: [ru]
Keyword: [span], Value: [1,0,0,ccs,hdb3]
Keyword: [bchan], Value: [1-15,17-29]
Keyword: [dchan], Value: [16]
Keyword: [span], Value: [2,0,0,ccs,hdb3]
Keyword: [bchan], Value: [32-46,48-62]
Keyword: [dchan], Value: [47]
Zaptel Version: 1.4.0-BSD
Echo Canceller: MG2
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Clear channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: Clear channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: Clear channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: Clear channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: Clear channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: Clear channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 28)
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 32: Clear channel (Default) (Slaves: 32)
Channel 33: Clear channel (Default) (Slaves: 33)
Channel 34: Clear channel (Default) (Slaves: 34)
Channel 35: Clear channel (Default) (Slaves: 35)
Channel 36: Clear channel (Default) (Slaves: 36)
Channel 37: Clear channel (Default) (Slaves: 37)
Channel 38: Clear channel (Default) (Slaves: 38)
Channel 39: Clear channel (Default) (Slaves: 39)
Channel 40: Clear channel (Default) (Slaves: 40)
Channel 41: Clear channel (Default) (Slaves: 41)
Channel 42: Clear channel (Default) (Slaves: 42)
Channel 43: Clear channel (Default) (Slaves: 43)
Channel 44: Clear channel (Default) (Slaves: 44)
Channel 45: Clear channel (Default) (Slaves: 45)
Channel 46: Clear channel (Default) (Slaves: 46)
Channel 47: D-channel (Default) (Slaves: 47)
Channel 48: Clear channel (Default) (Slaves: 48)
Channel 49: Clear channel (Default) (Slaves: 49)
Channel 50: Clear channel (Default) (Slaves: 50)
Channel 51: Clear channel (Default) (Slaves: 51)
Channel 52: Clear channel (Default) (Slaves: 52)
Channel 53: Clear channel (Default) (Slaves: 53)
Channel 54: Clear channel (Default) (Slaves: 54)
Channel 55: Clear channel (Default) (Slaves: 55)
Channel 56: Clear channel (Default) (Slaves: 56)
Channel 57: Clear channel (Default) (Slaves: 57)
Channel 58: Clear channel (Default) (Slaves: 58)
Channel 59: Clear channel (Default) (Slaves: 59)
Channel 60: Clear channel (Default) (Slaves: 60)
Channel 61: Clear channel (Default) (Slaves: 61)
Channel 62: Clear channel (Default) (Slaves: 62)
60 channels configured.
ZT_SPANCONFIG failed on span 1: Device not configured (6)
Код: Выделить всё
[root@ /usr/local/sbin]# ./wanrouter start
Starting up device: wanpipe1
wanconfig: WAN device wanpipe1 driver load failed !!
: ioctl(wanpipe1,ROUTER_VER) failed:
: 22 - Unknown error: -22
: Wanpipe Module Installation Failure!
: 1. New Wanpipe modules failed to install
: during wanpipe installation.
: 2. Wanpipe device doesn't exists in a list.
: 3. Wanpipe data structure is corrupted.
Starting up device: wanpipe2
wanconfig: WAN device wanpipe2 driver load failed !!
: ioctl(wanpipe2,ROUTER_VER) failed:
: 22 - Unknown error: -22
: Wanpipe Module Installation Failure!
: 1. New Wanpipe modules failed to install
: during wanpipe installation.
: 2. Wanpipe device doesn't exists in a list.
: 3. Wanpipe data structure is corrupted.
Configuring interfaces: wag1 ifconfig: interface wag1 does not exist
done.
Configuring interfaces: wbg1 ifconfig: interface wbg1 does not exist
done.
Keyword: [loadzone], Value: [ru]
Keyword: [defaultzone], Value: [ru]
Keyword: [span], Value: [1,0,0,ccs,hdb3]
Keyword: [bchan], Value: [1-15,17-29]
Keyword: [dchan], Value: [16]
Keyword: [span], Value: [2,0,0,ccs,hdb3]
Keyword: [bchan], Value: [32-46,48-62]
Keyword: [dchan], Value: [47]
Zaptel Version: 1.4.0-BSD
Echo Canceller: MG2
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
60 channels configured.
ZT_SPANCONFIG failed on span 1: Device not configured (6)
Код: Выделить всё
[devices]
wanpipe1 = WAN_AFT_TE1, Comment
[interfaces]
wag1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 11
PCIBUS = 1
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 0
TE_SIG_MODE = CCS
TE_HIGHIMPEDANCE = NO
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 0
TDMV_HW_DTMF = NO
[wag1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = NO
Код: Выделить всё
[devices]
wanpipe2 = WAN_AFT_TE1, Comment
[interfaces]
wbg1 = wanpipe2, , TDM_VOICE, Comment
[wanpipe2]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 11
PCIBUS = 1
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 2
TE_CLOCK = MASTER
TE_REF_CLOCK = 1
TE_SIG_MODE = CCS
TE_HIGHIMPEDANCE = NO
LBO = 120OH
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 2
TDMV_DCHAN = 0
TDMV_HW_DTMF = NO
[wbg1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = NO
Код: Выделить всё
;Zaptel Channels Configurations (zapata.conf)
;
;For detailed zapata options, view /etc/asterisk/zapata.conf.orig
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
resetinterval=never
;faxdetect=both
;Sangoma A102 port 1 [slot:11 bus:1 span:1] <wanpipe1>
switchtype=euroisdn
;switchtype=national
context=from-pstn
group=0
signalling=pri_cpe
channel =>1-15,17-28
;Sangoma A102 port 2 [slot:11 bus:1 span:2] <wanpipe2>
switchtype=euroisdn
context=from-meridian
group=1
signalling=pri_net
channel =>32-46,48-62
Код: Выделить всё
# Zaptel Channels Configurations (zaptel.conf)
#
loadzone=ru
defaultzone=ru
#Sangoma A102 port 1 [slot:11 bus:1 span:1] <wanpipe1>
span=1,0,0,ccs,hdb3
bchan=1-15,17-29
dchan=16
#Sangoma A102 port 2 [slot:11 bus:1 span:2] <wanpipe2>
span=2,0,0,ccs,hdb3
bchan=32-46,48-62
dchan=47
Не могу понять, не работает сама карта на аппаратном уровне или проблема с wanpipe?
Если в wanpipe поможет ли его пересборка\переустановка?
Интерфейсов самой карты нет в ifconfig.
Канал E1 проверял через провайдера путём замыкания порта заглушкой (Tx на Rx), всё работает. Линки на карте горят зелёным. Звонки с внешних (например мобильных) сразу отваливаются.
P.S.
Код: Выделить всё
[root@ /usr/local/sbin]# ./wancfg_zaptel
########################################################################
# Sangoma Wanpipe: Zaptel/SMG/TDMAPI/BOOT Configuration Script #
# v2.13 #
# Sangoma Technologies Inc. #
# Copyright(c) 2008. #
########################################################################
Would you like to generate /usr/local/etc/asterisk/zapata.conf
1. YES
2. NO
[1-2]:2
---------------------------------------------
Configuring T1/E1 cards [A101/A102/A104/A108]
---------------------------------------------
------------------------------------
Configuring analog cards [A200/A400]
------------------------------------
###################################################################
# SUMMARY #
###################################################################
No Sangoma voice compatible cards found/configured
[root@ /usr/local/sbin]#