На OpenVox подключены 3 модуля FXO400 из которых используется только 2 (8 аналоговых линий). На банке каналов подключены 26 конечных абонентов. На АТС регистрация проходит по Ethernet.
Использую Linux Debian 2.6.32-5-amd64, Asterisk 1.6.0.28, сборку dahdi_2.6.0+2.6.0-parabel_2.6.0 с сайта Parabel в которую добавлен драйвер opvxa24xx из сборки openvox_dahdi-linux-complete-2.6.0+2.6.0.
Прикладываю текущую конфигурацию:
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: system.conf создавал вручную
# Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25"
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8
fxsks=9
echocanceller=mg2,9
fxsks=10
echocanceller=mg2,10
fxsks=11
echocanceller=mg2,11
fxsks=12
echocanceller=mg2,12
#fxoks=13
#echocanceller=mg2,13
#fxoks=14
#echocanceller=mg2,14
#fxoks=15
#echocanceller=mg2,15
#fxoks=16
#echocanceller=mg2,16
dynamic=eth,eth0/00:55:55:55:55:00,30,1
fxols=17
echocanceller=mg2,17
...
fxols=46
echocanceller=mg2,46
# Global data
Mulaw=1-46
loadzone = ru
defaultzone = ru
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxsks=3
echocanceller=mg2,3
fxsks=4
echocanceller=mg2,4
fxsks=5
echocanceller=mg2,5
fxsks=6
echocanceller=mg2,6
fxsks=7
echocanceller=mg2,7
fxsks=8
echocanceller=mg2,8
fxsks=9
echocanceller=mg2,9
fxsks=10
echocanceller=mg2,10
fxsks=11
echocanceller=mg2,11
fxsks=12
echocanceller=mg2,12
#fxoks=13
#echocanceller=mg2,13
#fxoks=14
#echocanceller=mg2,14
#fxoks=15
#echocanceller=mg2,15
#fxoks=16
#echocanceller=mg2,16
dynamic=eth,eth0/00:55:55:55:55:00,30,1
fxols=17
echocanceller=mg2,17
...
fxols=46
echocanceller=mg2,46
# Global data
Mulaw=1-46
loadzone = ru
defaultzone = ru
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: chan_dahdi.conf
[channels]
rxflash=850
;rxwink=300
language=ru
callerid=asreceived
usecallerid=yes
hidecallerid=no
restrictcid=yes
resetinterval=never
useincomingcalleridondahditransfer=yes
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=64 ;было 64
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
immediate=no
busydetect=yes
busycount=3
pulsedial=yes ;было yes
relaxdtmf=yes
dtmfmode=inband
signalling = fxs_ks
group = 0
context = custom-from-dahdi1
channel => 1
...
signalling = fxs_ks
group = 0
context = custom-from-dahdi12
channel => 12
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 17
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 17
...
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 42
rxflash=850
;rxwink=300
language=ru
callerid=asreceived
usecallerid=yes
hidecallerid=no
restrictcid=yes
resetinterval=never
useincomingcalleridondahditransfer=yes
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=64 ;было 64
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
immediate=no
busydetect=yes
busycount=3
pulsedial=yes ;было yes
relaxdtmf=yes
dtmfmode=inband
signalling = fxs_ks
group = 0
context = custom-from-dahdi1
channel => 1
...
signalling = fxs_ks
group = 0
context = custom-from-dahdi12
channel => 12
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 17
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 17
...
signalling = fxo_ls
callerid = "номер" <номер>
mailbox = номер@default
group = 1
callgroup =
pickupgroup =
context = from-internal
channel => 42
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: cat /proc/dahdi/1
Span 1: OPVXA24XX/24 "OpenVox A1610 Board 25"
1 OPVXA24XX/24/0 FXSKS (In use) (EC: MG2 - INACTIVE)
2 OPVXA24XX/24/1 FXSKS (In use) (EC: MG2 - ACTIVE)
3 OPVXA24XX/24/2 FXSKS (In use) (EC: MG2 - INACTIVE)
4 OPVXA24XX/24/3 FXSKS (In use) (EC: MG2 - INACTIVE)
5 OPVXA24XX/24/4 FXSKS (In use) (EC: MG2 - INACTIVE)
6 OPVXA24XX/24/5 FXSKS (In use) (EC: MG2 - INACTIVE)
7 OPVXA24XX/24/6 FXSKS (In use) (EC: MG2 - INACTIVE)
8 OPVXA24XX/24/7 FXSKS (In use) (EC: MG2 - INACTIVE)
9 OPVXA24XX/24/8 FXSKS (In use) RED (EC: MG2 - INACTIVE)
10 OPVXA24XX/24/9 FXSKS (In use) RED (EC: MG2 - INACTIVE)
11 OPVXA24XX/24/10 FXSKS (In use) RED (EC: MG2 - INACTIVE)
12 OPVXA24XX/24/11 FXSKS (In use) RED (EC: MG2 - INACTIVE)
13 OPVXA24XX/24/12 Reserved
14 OPVXA24XX/24/13 Reserved
15 OPVXA24XX/24/14 Reserved
16 OPVXA24XX/24/15 Reserved
1 OPVXA24XX/24/0 FXSKS (In use) (EC: MG2 - INACTIVE)
2 OPVXA24XX/24/1 FXSKS (In use) (EC: MG2 - ACTIVE)
3 OPVXA24XX/24/2 FXSKS (In use) (EC: MG2 - INACTIVE)
4 OPVXA24XX/24/3 FXSKS (In use) (EC: MG2 - INACTIVE)
5 OPVXA24XX/24/4 FXSKS (In use) (EC: MG2 - INACTIVE)
6 OPVXA24XX/24/5 FXSKS (In use) (EC: MG2 - INACTIVE)
7 OPVXA24XX/24/6 FXSKS (In use) (EC: MG2 - INACTIVE)
8 OPVXA24XX/24/7 FXSKS (In use) (EC: MG2 - INACTIVE)
9 OPVXA24XX/24/8 FXSKS (In use) RED (EC: MG2 - INACTIVE)
10 OPVXA24XX/24/9 FXSKS (In use) RED (EC: MG2 - INACTIVE)
11 OPVXA24XX/24/10 FXSKS (In use) RED (EC: MG2 - INACTIVE)
12 OPVXA24XX/24/11 FXSKS (In use) RED (EC: MG2 - INACTIVE)
13 OPVXA24XX/24/12 Reserved
14 OPVXA24XX/24/13 Reserved
15 OPVXA24XX/24/14 Reserved
16 OPVXA24XX/24/15 Reserved
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: cat /proc/dahdi/2
Span 2: DYN/eth/eth0/00:55:55:55:55:00 "Dynamic 'eth' span at 'eth0/00:55:55:55:55:00'" (MASTER) ClockSource
17 DYN/eth/eth0/00:55:55:55:55:00/1 FXOLS (In use) (EC: MG2 - INACTIVE)
18 DYN/eth/eth0/00:55:55:55:55:00/2 FXOLS (In use) (EC: MG2 - INACTIVE)
19 DYN/eth/eth0/00:55:55:55:55:00/3 FXOLS (In use) (EC: MG2 - INACTIVE)
20 DYN/eth/eth0/00:55:55:55:55:00/4 FXOLS (In use) (EC: MG2 - INACTIVE)
21 DYN/eth/eth0/00:55:55:55:55:00/5 FXOLS (In use) (EC: MG2 - INACTIVE)
22 DYN/eth/eth0/00:55:55:55:55:00/6 FXOLS (In use) (EC: MG2 - ACTIVE)
23 DYN/eth/eth0/00:55:55:55:55:00/7 FXOLS (In use) (EC: MG2 - INACTIVE)
24 DYN/eth/eth0/00:55:55:55:55:00/8 FXOLS (In use) (EC: MG2 - ACTIVE)
25 DYN/eth/eth0/00:55:55:55:55:00/9 FXOLS (In use) (EC: MG2 - ACTIVE)
26 DYN/eth/eth0/00:55:55:55:55:00/10 FXOLS (In use) (EC: MG2 - INACTIVE)
27 DYN/eth/eth0/00:55:55:55:55:00/11 FXOLS (In use) (EC: MG2 - INACTIVE)
28 DYN/eth/eth0/00:55:55:55:55:00/12 FXOLS (In use) (EC: MG2 - INACTIVE)
29 DYN/eth/eth0/00:55:55:55:55:00/13 FXOLS (In use) (EC: MG2 - INACTIVE)
30 DYN/eth/eth0/00:55:55:55:55:00/14 FXOLS (In use) (EC: MG2 - ACTIVE)
31 DYN/eth/eth0/00:55:55:55:55:00/15 FXOLS (In use) (EC: MG2 - ACTIVE)
32 DYN/eth/eth0/00:55:55:55:55:00/16 FXOLS (In use) (EC: MG2 - INACTIVE)
33 DYN/eth/eth0/00:55:55:55:55:00/17 FXOLS (In use) (EC: MG2 - ACTIVE)
34 DYN/eth/eth0/00:55:55:55:55:00/18 FXOLS (In use) (EC: MG2 - INACTIVE)
35 DYN/eth/eth0/00:55:55:55:55:00/19 FXOLS (In use) (EC: MG2 - INACTIVE)
36 DYN/eth/eth0/00:55:55:55:55:00/20 FXOLS (In use) (EC: MG2 - INACTIVE)
37 DYN/eth/eth0/00:55:55:55:55:00/21 FXOLS (In use) (EC: MG2 - INACTIVE)
38 DYN/eth/eth0/00:55:55:55:55:00/22 FXOLS (In use) (EC: MG2 - INACTIVE)
39 DYN/eth/eth0/00:55:55:55:55:00/23 FXOLS (In use) (EC: MG2 - INACTIVE)
40 DYN/eth/eth0/00:55:55:55:55:00/24 FXOLS (In use) (EC: MG2 - INACTIVE)
41 DYN/eth/eth0/00:55:55:55:55:00/25 FXOLS (In use) (EC: MG2 - INACTIVE)
42 DYN/eth/eth0/00:55:55:55:55:00/26 FXOLS (In use) (EC: MG2 - INACTIVE)
43 DYN/eth/eth0/00:55:55:55:55:00/27 FXOLS (EC: MG2 - INACTIVE)
44 DYN/eth/eth0/00:55:55:55:55:00/28 FXOLS (EC: MG2 - INACTIVE)
45 DYN/eth/eth0/00:55:55:55:55:00/29 FXOLS (EC: MG2 - INACTIVE)
46 DYN/eth/eth0/00:55:55:55:55:00/30 FXOLS (EC: MG2 - INACTIVE)
17 DYN/eth/eth0/00:55:55:55:55:00/1 FXOLS (In use) (EC: MG2 - INACTIVE)
18 DYN/eth/eth0/00:55:55:55:55:00/2 FXOLS (In use) (EC: MG2 - INACTIVE)
19 DYN/eth/eth0/00:55:55:55:55:00/3 FXOLS (In use) (EC: MG2 - INACTIVE)
20 DYN/eth/eth0/00:55:55:55:55:00/4 FXOLS (In use) (EC: MG2 - INACTIVE)
21 DYN/eth/eth0/00:55:55:55:55:00/5 FXOLS (In use) (EC: MG2 - INACTIVE)
22 DYN/eth/eth0/00:55:55:55:55:00/6 FXOLS (In use) (EC: MG2 - ACTIVE)
23 DYN/eth/eth0/00:55:55:55:55:00/7 FXOLS (In use) (EC: MG2 - INACTIVE)
24 DYN/eth/eth0/00:55:55:55:55:00/8 FXOLS (In use) (EC: MG2 - ACTIVE)
25 DYN/eth/eth0/00:55:55:55:55:00/9 FXOLS (In use) (EC: MG2 - ACTIVE)
26 DYN/eth/eth0/00:55:55:55:55:00/10 FXOLS (In use) (EC: MG2 - INACTIVE)
27 DYN/eth/eth0/00:55:55:55:55:00/11 FXOLS (In use) (EC: MG2 - INACTIVE)
28 DYN/eth/eth0/00:55:55:55:55:00/12 FXOLS (In use) (EC: MG2 - INACTIVE)
29 DYN/eth/eth0/00:55:55:55:55:00/13 FXOLS (In use) (EC: MG2 - INACTIVE)
30 DYN/eth/eth0/00:55:55:55:55:00/14 FXOLS (In use) (EC: MG2 - ACTIVE)
31 DYN/eth/eth0/00:55:55:55:55:00/15 FXOLS (In use) (EC: MG2 - ACTIVE)
32 DYN/eth/eth0/00:55:55:55:55:00/16 FXOLS (In use) (EC: MG2 - INACTIVE)
33 DYN/eth/eth0/00:55:55:55:55:00/17 FXOLS (In use) (EC: MG2 - ACTIVE)
34 DYN/eth/eth0/00:55:55:55:55:00/18 FXOLS (In use) (EC: MG2 - INACTIVE)
35 DYN/eth/eth0/00:55:55:55:55:00/19 FXOLS (In use) (EC: MG2 - INACTIVE)
36 DYN/eth/eth0/00:55:55:55:55:00/20 FXOLS (In use) (EC: MG2 - INACTIVE)
37 DYN/eth/eth0/00:55:55:55:55:00/21 FXOLS (In use) (EC: MG2 - INACTIVE)
38 DYN/eth/eth0/00:55:55:55:55:00/22 FXOLS (In use) (EC: MG2 - INACTIVE)
39 DYN/eth/eth0/00:55:55:55:55:00/23 FXOLS (In use) (EC: MG2 - INACTIVE)
40 DYN/eth/eth0/00:55:55:55:55:00/24 FXOLS (In use) (EC: MG2 - INACTIVE)
41 DYN/eth/eth0/00:55:55:55:55:00/25 FXOLS (In use) (EC: MG2 - INACTIVE)
42 DYN/eth/eth0/00:55:55:55:55:00/26 FXOLS (In use) (EC: MG2 - INACTIVE)
43 DYN/eth/eth0/00:55:55:55:55:00/27 FXOLS (EC: MG2 - INACTIVE)
44 DYN/eth/eth0/00:55:55:55:55:00/28 FXOLS (EC: MG2 - INACTIVE)
45 DYN/eth/eth0/00:55:55:55:55:00/29 FXOLS (EC: MG2 - INACTIVE)
46 DYN/eth/eth0/00:55:55:55:55:00/30 FXOLS (EC: MG2 - INACTIVE)
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: параметры на Asteroid
Configuration/Common:
VCO: 0x1
MAC: 005555555500
DST MAC: 000000000000
EC: Off
E1: Off
Quit
Configuration/E1(A):
Line code: HDB3
Clock source: Internal
CRC4: On
Quit
Configuration/Slots:
Slot 0: FXS
Slot 1: FXS
Slot 2: FXS
Slot 3: FXS
Quit
Configuration/Coding law:
Slot 0: mLaw
Slot 1: mLaw
Slot 2: mLaw
Slot 3: mLaw
Quit
VCO: 0x1
MAC: 005555555500
DST MAC: 000000000000
EC: Off
E1: Off
Quit
Configuration/E1(A):
Line code: HDB3
Clock source: Internal
CRC4: On
Quit
Configuration/Slots:
Slot 0: FXS
Slot 1: FXS
Slot 2: FXS
Slot 3: FXS
Quit
Configuration/Coding law:
Slot 0: mLaw
Slot 1: mLaw
Slot 2: mLaw
Slot 3: mLaw
Quit
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 7762 0 0 0 IO-APIC-edge timer
8: 1 0 0 0 IO-APIC-edge rtc0
9: 0 0 0 0 IO-APIC-fasteoi acpi
16: 786862846 0 0 0 IO-APIC-fasteoi ehci_hcd:usb3, uhci_hcd:usb6, uhci_hcd:usb7, uhci_hcd:usb8
19: 47 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb4, uhci_hcd:usb5
26: 2297687682 0 0 0 IO-APIC-fasteoi opvxa24xx
48: 0 0 0 0 PCI-MSI-edge aerdrv
49: 0 0 0 0 PCI-MSI-edge aerdrv
50: 0 0 0 0 PCI-MSI-edge aerdrv
51: 0 0 0 0 PCI-MSI-edge aerdrv
52: 0 0 0 0 PCI-MSI-edge aerdrv
55: 0 0 0 0 PCI-MSI-edge eth0
56: 2340488093 0 0 0 PCI-MSI-edge eth0-rx-0
57: 52856714 0 0 0 PCI-MSI-edge eth0-rx-1
58: 1321623 0 0 0 PCI-MSI-edge eth0-rx-2
59: 6023022 0 0 0 PCI-MSI-edge eth0-rx-3
60: 2311185940 0 0 0 PCI-MSI-edge eth0-tx-0
61: 18545270 0 0 0 PCI-MSI-edge eth0-tx-1
62: 21456541 0 0 0 PCI-MSI-edge eth0-tx-2
63: 17984639 0 0 0 PCI-MSI-edge eth0-tx-3
64: 16006922 0 0 0 PCI-MSI-edge ahci
74: 3 0 0 0 PCI-MSI-edge ioat-msix
75: 3 0 0 0 PCI-MSI-edge ioat-msix
76: 3 0 0 0 PCI-MSI-edge ioat-msix
77: 3 0 0 0 PCI-MSI-edge ioat-msix
78: 3 0 0 0 PCI-MSI-edge ioat-msix
79: 3 0 0 0 PCI-MSI-edge ioat-msix
80: 3 0 0 0 PCI-MSI-edge ioat-msix
81: 3 0 0 0 PCI-MSI-edge ioat-msix
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 493493373 344192382 221903263 224955995 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 Performance pending work
RES: 143964 255391 142964 136995 Rescheduling interrupts
CAL: 27 118 103 119 Function call interrupts
TLB: 2836676 3119421 2783960 2223643 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 7716 7716 7716 7716 Machine check polls
ERR: 0
MIS: 0
0: 7762 0 0 0 IO-APIC-edge timer
8: 1 0 0 0 IO-APIC-edge rtc0
9: 0 0 0 0 IO-APIC-fasteoi acpi
16: 786862846 0 0 0 IO-APIC-fasteoi ehci_hcd:usb3, uhci_hcd:usb6, uhci_hcd:usb7, uhci_hcd:usb8
19: 47 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb4, uhci_hcd:usb5
26: 2297687682 0 0 0 IO-APIC-fasteoi opvxa24xx
48: 0 0 0 0 PCI-MSI-edge aerdrv
49: 0 0 0 0 PCI-MSI-edge aerdrv
50: 0 0 0 0 PCI-MSI-edge aerdrv
51: 0 0 0 0 PCI-MSI-edge aerdrv
52: 0 0 0 0 PCI-MSI-edge aerdrv
55: 0 0 0 0 PCI-MSI-edge eth0
56: 2340488093 0 0 0 PCI-MSI-edge eth0-rx-0
57: 52856714 0 0 0 PCI-MSI-edge eth0-rx-1
58: 1321623 0 0 0 PCI-MSI-edge eth0-rx-2
59: 6023022 0 0 0 PCI-MSI-edge eth0-rx-3
60: 2311185940 0 0 0 PCI-MSI-edge eth0-tx-0
61: 18545270 0 0 0 PCI-MSI-edge eth0-tx-1
62: 21456541 0 0 0 PCI-MSI-edge eth0-tx-2
63: 17984639 0 0 0 PCI-MSI-edge eth0-tx-3
64: 16006922 0 0 0 PCI-MSI-edge ahci
74: 3 0 0 0 PCI-MSI-edge ioat-msix
75: 3 0 0 0 PCI-MSI-edge ioat-msix
76: 3 0 0 0 PCI-MSI-edge ioat-msix
77: 3 0 0 0 PCI-MSI-edge ioat-msix
78: 3 0 0 0 PCI-MSI-edge ioat-msix
79: 3 0 0 0 PCI-MSI-edge ioat-msix
80: 3 0 0 0 PCI-MSI-edge ioat-msix
81: 3 0 0 0 PCI-MSI-edge ioat-msix
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 493493373 344192382 221903263 224955995 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 Performance pending work
RES: 143964 255391 142964 136995 Rescheduling interrupts
CAL: 27 118 103 119 Function call interrupts
TLB: 2836676 3119421 2783960 2223643 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 7716 7716 7716 7716 Machine check polls
ERR: 0
MIS: 0
Данные два устройства более или менее адекватно работают только при вышеприведенной настройке. Но возникает проблема. Примерно каждые 6-7 минут в трубке каждого из менеджеров(не одновременно у всех) возникает либо бульканье либо треск.
Связался с инженерами Parabel. Они сообщили что необходимо сделать карту Master, а банк каналов сделать ClockSource. К сожалению при ЛЮБОЙ настройке банка каналов и system.conf, этого не удается добиться. Подскажите пожалуйста, что еще можно сделать, чтоб карта жестко стала Master, а банк каналов ClockSource? Или подкиньте идею как решить вопрос с бульканьем и треском.