Имеется машина с
Slackware 13.
Asterisk 1.6.1.5
DAHDI Linux 2.2.0.2
DAHDI Tools 2.2.0
Libpri 1.4.10.1
Addons 1.6.1.1
Карточка OpenVox D110p
Все поставил все настроил по туториалам.
Вывод dahdi_scan:
root@CTC-IP:/usr/src# dahdi_scan
[1]
active=yes
alarms=OK
description=Digium Wildcard TE110P T1/E1 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Digium Wildcard TE110P T1/E1
location=PCI Bus 04 Slot 01
basechan=1
totchans=31
irq=16
type=digital-E1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS
root@CTC-IP:/usr/src#
dahdi_cfg -vvvvvvvv
root@CTC-IP:~# dahdi_cfg -vvvvvvvv
DAHDI Tools Version - 2.2.0
DAHDI Version: 2.2.0.2
Echo Canceller(s): MG2
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 23)
Channel 24: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 24)
Channel 25: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 25)
Channel 26: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 26)
Channel 27: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 27)
Channel 28: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 28)
Channel 29: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 29)
Channel 30: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 30)
Channel 31: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 31)
31 channels to configure.
cat /proc/dahdi/*
root@CTC-IP:~# cat /proc/dahdi/*
Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER) HDB3/CCS
1 WCT1/0/1 Clear (SWEC: MG2)
2 WCT1/0/2 Clear (SWEC: MG2)
3 WCT1/0/3 Clear (SWEC: MG2)
4 WCT1/0/4 Clear (SWEC: MG2)
5 WCT1/0/5 Clear (SWEC: MG2)
6 WCT1/0/6 Clear (SWEC: MG2)
7 WCT1/0/7 Clear (SWEC: MG2)
8 WCT1/0/8 Clear (SWEC: MG2)
9 WCT1/0/9 Clear (SWEC: MG2)
10 WCT1/0/10 Clear (SWEC: MG2)
11 WCT1/0/11 Clear (SWEC: MG2)
12 WCT1/0/12 Clear (SWEC: MG2)
13 WCT1/0/13 Clear (SWEC: MG2)
14 WCT1/0/14 Clear (SWEC: MG2)
15 WCT1/0/15 Clear (SWEC: MG2)
16 WCT1/0/16 HDLCFCS
17 WCT1/0/17 Clear (SWEC: MG2)
18 WCT1/0/18 Clear (SWEC: MG2)
19 WCT1/0/19 Clear (SWEC: MG2)
20 WCT1/0/20 Clear (SWEC: MG2)
21 WCT1/0/21 Clear (SWEC: MG2)
22 WCT1/0/22 Clear (SWEC: MG2)
23 WCT1/0/23 Clear (SWEC: MG2)
24 WCT1/0/24 Clear (SWEC: MG2)
25 WCT1/0/25 Clear (SWEC: MG2)
26 WCT1/0/26 Clear (SWEC: MG2)
27 WCT1/0/27 Clear (SWEC: MG2)
28 WCT1/0/28 Clear (SWEC: MG2)
29 WCT1/0/29 Clear (SWEC: MG2)
30 WCT1/0/30 Clear (SWEC: MG2)
31 WCT1/0/31 Clear (SWEC: MG2)
в логах:
kernel: IRQ 16/wcte11xp: IRQF_DISABLED is not guaranteed on shared IRQs
Sep 10 14:38:22] WARNING[3234] chan_dahdi.c: Ignoring any changes to 'userbase' (on reload) at line 23.
[Sep 10 14:38:22] WARNING[3234] chan_dahdi.c: Ignoring any changes to 'vmsecret' (on reload) at line 31.
[Sep 10 14:38:22] WARNING[3234] chan_dahdi.c: Ignoring any changes to 'hassip' (on reload) at line 35.
[Sep 10 14:38:22] WARNING[3234] chan_dahdi.c: Ignoring any changes to 'hasiax' (on reload) at line 39.
[Sep 10 14:38:22] WARNING[3234] chan_dahdi.c: Ignoring any changes to 'hasmanager' (on reload) at line 47.
Sep 10 14:58:24 CTC-IP kernel: TE110P: Span configured for CCS/HDB3
Sep 10 14:58:24 CTC-IP kernel: Calling startup (flags is 4099)
Еще в самом астериске:
CTC-IP*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
Digium Wildcard TE110P T1/E1 Card 0 OK 0 0 0 CCS HDB3 YEL 0 db (CSU)/0-133 feet (DSX-1)
CTC-IP*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
CTC-IP*CLI> pri show spans
Вообще ничего не выводит
вот конфиги:
system.conf
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
dchan=16
#bchan=17-31
#echocanceller=mg2,17-31
loadzone = us
defaultzone=us
chan_dahdi.conf
[channels]
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=national
resetinterval = 100000000
facilityenable = yes
signalling=pri_cpe
rxwink=300
usecallerid=yes
cidsignalling=bell
cidstart=ring
hidecallerid=no
callwaiting=yes
usecallingpres=yes
sendcalleridafter=1
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
context=incoming
immediate=no
channel => 1-15
mohsuggest=default
Почему-то все каналы помечены как не активные. А вроде должны же быть помечены как in-use.
Подскажите либо я что то напутал. либо не правилно сканфигурирован е1 поток со станции.
и еще только dahdi_scan показывает прерывания карты. остальные почемуто его отображают как ноль. Стоит ли обращать на это внимание. Надеюсь на вашу помошь