Sangoma A101DE
Помогите решить проблему с Sangoma A101DE.
Имеем Elastix, Asterisk 1.4.30, поток E1(EuroISDN) от УПАТС.
Сконфигурировано все по мануалу, но поток не поднимается.
===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 = 4
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = NCRC4
FE_LINE = 1
TE_CLOCK = NORMAL
TE_REF_CLOCK = 1
TE_HIGHIMPEDANCE = NO
TE_RX_SLEVEL = 120
LBO = 120OH
TE_SIG_MODE = CCS
FE_TXTRISTATE = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
TDMV_DCHAN = 16
TDMV_HW_DTMF = NO
[w1g1]
ACTIVE_CH = ALL
TDMV_ECHO_OFF = NO
TDMV_HWEC = YES
===system.conf===
span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
loadzone = us
defaultzone = us
===dahdi-channels.conf===
[trunkgroups]
[channels]
context=from-pstn
switchtype=euroisdn
signalling=pri_net
callgroup=1
pickupgroup=1
group=1
channel => 1-15,17-31
>wanrouter version
WANPIPE Release: 3.5.7
>lsmod | grep wanpipe
af_wanpipe 37824 0
wanpipe 564664 32
wanrouter 72092 5 wanec,af_wanpipe,wanpipe
dahdi 195144 71 ax1600p,dahdi_dynamic,ap400,ystdm16xx,ystdm8xx,opvxa1200,wanpipe
sdladrv 105392 2 wanpipe,wanrouter
>wanpipemon -i w1g1 -c Ta
***** w1g1: E1 Alarms (Framer) *****
ALOS: OFF | LOS: OFF
RED: OFF | AIS: OFF
LOF: OFF | RAI: OFF
***** w1g1: E1 Alarms (LIU) *****
Short Circuit: OFF
Open Circuit: ON
Loss of Signal: OFF
***** w1g1: E1 Performance Monitoring Counters *****
Line Code Violation : 378
Far End Block Errors : 0
CRC4 Errors : 0
FAS Errors : 0
Rx Level : > -2.5db
>wanrouter hwprobe verbose
| Wanpipe Hardware Probe Info (verbose) |
-----------------------------------------
1 . AFT-A101-SH : SLOT=4 : BUS=4 : IRQ=11 : CPU=A : PORT=1 : HWEC=32 : V=36
+01:DS26521: PCIe: PLX2
Card Cnt: A101-2=1
>wanrouter status
Devices currently active:
wanpipe1
Wanpipe Config:
Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |
wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 177 | 4 | 1 | N/A | 0 |
Wanrouter Status:
Device name | Protocol | Station | Status |
wanpipe1 | AFT TE1 | N/A | Connected |
>cat /proc/interrupts
CPU0 CPU1
0: 1983252 1973747 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
6: 3 3 IO-APIC-edge floppy
8: 1 2 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
12: 1 3 IO-APIC-edge i8042
50: 0 0 IO-APIC-level uhci_hcd:usb7
58: 8960 9092 IO-APIC-level ata_piix, ata_piix, HDA Intel
169: 5050 5069 IO-APIC-level eth0
177: 245362 254638 IO-APIC-level uhci_hcd:usb3, pata_marvell, wanpipe1
217: 0 0 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
225: 0 0 IO-APIC-level ehci_hcd:usb2, uhci_hcd:usb6
233: 0 0 IO-APIC-level uhci_hcd:usb4
NMI: 0 0
LOC: 3912098 3912138
ERR: 0
MIS: 0
Кусок /var/log/messages после последнего ребута.
Apr 20 09:42:19 elastix kernel: wanpipe1: RAI alarm is ON
Apr 20 09:42:19 elastix kernel: wanpipe1: E1 disconnected!
Apr 20 09:42:19 elastix kernel: wanpipe1: AFT communications disabled! (Dev Cnt: 1 Cause: Link Down)
Apr 20 09:42:19 elastix kernel: wanpipe1: TDM Free Run Timing Enabled 1 ms
Apr 20 09:44:53 elastix kernel: irq 177: nobody cared (try booting with the "irqpoll" option)
Apr 20 09:44:53 elastix kernel: [<c044df32>] __report_bad_irq+0x2b/0x69
Apr 20 09:44:53 elastix kernel: [<c044e11f>] note_interrupt+0x1af/0x1e8
Apr 20 09:44:53 elastix kernel: [<c044d72d>] handle_IRQ_event+0x45/0x8c
Apr 20 09:44:53 elastix kernel: [<c044d80f>] __do_IRQ+0x9b/0xd6
Apr 20 09:44:53 elastix kernel: [<c044d774>] __do_IRQ+0x0/0xd6
Apr 20 09:44:53 elastix kernel: [<c04074b2>] do_IRQ+0x99/0xc3
Apr 20 09:44:53 elastix kernel: [<c0405946>] common_interrupt+0x1a/0x20
Apr 20 09:44:53 elastix kernel: [<c0403ce7>] mwait_idle+0x25/0x38
Apr 20 09:44:53 elastix kernel: [<c0403ca8>] cpu_idle+0x9f/0xb9
Apr 20 09:44:53 elastix kernel: =======================
Apr 20 09:44:53 elastix kernel: handlers:
Apr 20 09:44:53 elastix kernel: [<c0586071>] (usb_hcd_irq+0x0/0x50)
Apr 20 09:44:53 elastix kernel: [<f88f1f58>] (ata_sff_interrupt+0x0/0x1bc [libata])
Apr 20 09:44:53 elastix kernel: [<f8d8639f>] (sdla_isr+0x0/0x29d [wanpipe])
Apr 20 09:44:53 elastix kernel: Disabling IRQ #177
Apr 20 09:45:06 elastix kernel: wanpipe1: RAI : OFF
Apr 20 09:45:10 elastix kernel: wanpipe1: E1 connected!
Apr 20 09:45:10 elastix kernel: wanpipe1: AFT communications enabled!
Apr 20 09:45:10 elastix kernel: wanpipe1: AFT Global TDM Intr
Apr 20 09:45:10 elastix kernel: ADDRCONF(NETDEV_CHANGE): w1g1: link becomes ready
|