Астерискеры,нужна помощь. Заранее извиняюсь за большой объем текста.
конфиг астера:
Asterisk 1.4.25.1
libpri-1.4.10
dahdi-linux-2.1.0.4
wanpipe-3.4.1
Sangoma A-102
Поднят pri транк с definity. Со стороны астериска -g703, воткнутый в sangoma A102, со стороны definity амфенол. Обжато все верно, кабель целый. Канал pri периодически падает, причем никакой закономерности нет- может разваливаться каждые 5 минут, а может раз в неделю.
логи
Jun 30 08:36:03] NOTICE[3623] chan_dahdi.c: PRI got event: Alarm (4) on Primary D-channel of span 1
[Jun 30 08:36:03] WARNING[3623] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Jun 30 08:36:13] NOTICE[3625] chan_dahdi.c: Alarm cleared on channel 1
.....................................................................
[Jun 30 08:36:13] NOTICE[3625] chan_dahdi.c: Alarm cleared on channel 31
[Jun 30 08:36:13] NOTICE[3623] chan_dahdi.c: PRI got event: No more alarm (5) on Primary D-channel of span 1
[Jun 30 08:37:12] WARNING[3625] chan_dahdi.c: Detected alarm on channel 1: Red Alarm
[Jun 30 08:37:12] WARNING[3625] chan_dahdi.c: Unable to disable echo cancellation on channel 1: Invalid argument
.....................................................................
[Jun 30 08:37:12] WARNING[3625] chan_dahdi.c: Detected alarm on channel 31: Red Alarm
[Jun 30 08:37:12] WARNING[3625] chan_dahdi.c: Unable to disable echo cancellation on channel 31: Invalid argument
[Jun 30 08:37:12] NOTICE[3623] chan_dahdi.c: PRI got event: Alarm (4) on Primary D-channel of span 1
[Jun 30 08:37:12] WARNING[3623] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Jun 30 08:37:19] WARNING[3623] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Jun 30 12:16:00] WARNING[3887] chan_dahdi.c: Detected alarm on channel 1: Red Alarm
.....................................................................
[Jun 30 12:16:00] WARNING[3887] chan_dahdi.c: Detected alarm on channel 31: Red Alarm
ИТД...
прерывания
cat /proc/interrupts
CPU0
0: 265156941 IO-APIC-edge timer
1: 8 IO-APIC-edge i8042
6: 5 IO-APIC-edge floppy
8: 1 IO-APIC-edge rtc
9: 3 IO-APIC-level acpi
12: 4 IO-APIC-edge i8042
15: 97199 IO-APIC-edge ide1
50: 0 IO-APIC-level sata_nv
58: 0 IO-APIC-level sata_nv
177: 524069258 IO-APIC-level wanpipe1, wanpipe2, wanpipe3
225: 26668971 IO-APIC-level ehci_hcd:usb1, eth1
233: 0 IO-APIC-level ohci_hcd:usb2
NMI: 0
LOC: 265175727
ERR: 1
MIS: 0
wanrouter hwprobe
-------------------------------
| Wanpipe Hardware Probe Info |
-------------------------------
1 . AFT-A200-SH : SLOT=7 : BUS=1 : IRQ=5 : CPU=A : PORT=PRI : HWEC=32 : V=11
2 . AFT-A102-SH : SLOT=4 : BUS=5 : IRQ=3 : CPU=A : PORT=1 : HWEC=64 : V=33
3 . AFT-A102-SH : SLOT=4 : BUS=5 : IRQ=3 : CPU=A : PORT=2 : HWEC=64 : V=33
Card Cnt: A101-2=1 A200=1
cat /var/log/messages | grep A102
Jun 16 20:39:06 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 17 17:00:12 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #177
Jun 17 17:00:12 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 17 17:00:12 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 17 17:00:18 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 17 17:00:18 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 19 14:41:59 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 19 14:41:59 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 19 14:41:59 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 19 14:41:59 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 19 14:41:59 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 19 15:52:49 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #177
Jun 19 15:52:50 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 19 15:52:50 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 19 15:52:55 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 19 15:52:55 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 23 21:09:16 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 23 21:09:16 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 23 21:09:16 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 23 21:09:16 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 23 21:09:16 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 23 22:00:18 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #177
Jun 23 22:00:18 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 23 22:00:18 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 23 22:00:24 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 23 22:00:24 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 24 22:53:57 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 24 22:53:57 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 24 22:53:57 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 24 22:53:57 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 24 22:53:57 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 25 19:16:14 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 25 19:16:14 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 25 19:16:14 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 25 19:16:14 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 25 19:16:14 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
Jun 30 12:39:13 asterisk kernel: wanpipe: AFT-A102-SH PCI T1/E1 card found (HDLC (DS) rev.33), cpu(s) 1, line(s) 2, bus #5, slot #4, irq #3
Jun 30 12:39:13 asterisk kernel: wanpipe1: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 30 12:39:13 asterisk kernel: wanpipe1: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=0
Jun 30 12:39:13 asterisk kernel: wanpipe2: Locating: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5
Jun 30 12:39:13 asterisk kernel: wanpipe2: Found: A101/1D/A102/2D/4/4D/8 card, CPU A, PciSlot=4, PciBus=5, Port=1
при этом:
asterisk*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4
wanpipe1 card 0 OK 0 0 0
wanpipe2 card 1 RED 0 0 0
wrtdm Board 1 OK 0 0 0
Конфиги модулей
cat /etc/dahdi/system.conf
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2009-06-23
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=ru
defaultzone=ru
#Sangoma A102 port 1 [slot:4 bus:5 span:1] <wanpipe1>
span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
echocanceller=mg2,1-15,17-31
hardhdlc=16
#Sangoma A102 port 2 [slot:4 bus:5 span:2] <wanpipe2>
span=2,0,0,ccs,hdb3,crc4
bchan=32-46,48-62
echocanceller=mg2,32-46,48-62
hardhdlc=47
cat /etc/asterisk/chan_dahdi.conf
autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2009-06-23
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
[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
;Sangoma A102 port 1 [slot:4 bus:5 span:1] <wanpipe1>
switchtype=qsig
context=incoming_from_DEF
group=1
echocancel=yes
signalling=pri_cpe
channel =>1-15
channel =>17-31
;Sangoma A102 port 2 [slot:4 bus:5 span:2] <wanpipe2>
switchtype=qsig
context=tda600_in
group=3
echocancel=yes
signalling=pri_cpe
channel =>32-46,48-62
P.S.
пробовал кольцевую розетку подключать к карте A102, лампочка горит красным. Подскажите как можно еще проверить физику канала.