Доброго дня, уважаемые!
Создал аналогичный тред на asteriskforum.ru, однако там тишина :(
Есть следующая система:
Linux asterisk 2.6.18-238.19.1.el5
Asterisk 1.8.5.0
DAHDI Version: 2.5.0 Echo Canceller: HWEC, MG2
libpri version: 1.4.12
Digium, Inc. Wildcard TE410P/TE412P quad-span T1/E1/J1 card 3.3V (rev 02)
Сейчас в span 1 стык с Panasonic TDE-200, span 2 - поток оператора 1. В TDE-200 сейчас E1 второго оператора. Пытаюсь переключить поток оператора 2 в Asterisk:
system.conf:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" HDB3/CCS ClockSource
span=1,2,0,ccs,hdb3,crc4
# termtype: unknown
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" (MASTER) HDB3/CCS
span=2,1,0,ccs,hdb3
# termtype: unknown
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62
# Span 3: TE2/0/3 "T2XXP (PCI) Card 0 Span 3" (MASTER) HDB3/CCS
span=3,3,0,ccs,hdb3
# termtype: unknown
bchan=63-77,79-93
dchan=78
echocanceller=mg2,63-77,79-93
dahdi-channels.conf
group=1
context=phones-berzarina
language=ru
switchtype=qsig
nationalprefix = 8
overlapdial=yes
signalling=pri_cpe
rxwink=300
usecallerid=yes
channel => 1-15,17-31
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" (MASTER) HDB3/CCS
group=2
context=incoming-beeline
language=ru
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
; Span 3: TE2/0/3 "T2XXP (PCI) Card 0 Span 3" (MASTER) HDB3/CCS
group=3
context=incoming-comstar
language=en
switchtype = euroisdn
signalling = pri_cpe
channel => 63-77,79-93
chan_dahdi.conf:
[channels]
#include /etc/asterisk/dahdi-channels.conf
cidsignalling=dtmf
hidecallerid=no
;hidecalleridname=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
transfer=yes
canpark=no
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=8
Подключаю поток оператора 2 в span 3:
Received MDL/TEI managemement message, but configured for mode other than PTMP
pri_find_dchan: Span 3: No D-channels available! Using Primary channel as D-channel anyway!
asterisk*CLI> pri show spans
PRI span 1/0: Up, Active
PRI span 2/0: Up, Active
PRI span 3/0: In Alarm, Down, Active
asterisk*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
T4XXP (PCI) Card 0 Span 1 OK 0 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 2 OK 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 3 YEL 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1)
T4XXP (PCI) Card 0 Span 4 UNCONFI 0 0 0 CAS Unk 0 db (CSU)/0-133 feet (DSX-1)
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 3 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 3 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 3 SAPI/TEI=0/0 Kick starting link
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 3 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 3 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 3 SAPI/TEI=0/0 Kick starting link
PRI Span: 3 TEI=0 Sending SABME
PRI Span: 3 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
asterisk*CLI> pri set debug off span 3
Пробовал оставлять только один поток второго оператора и от него брать синхронизацию, патч-корд проверил сто раз (http://support.red-fone.com/downloads/tools/T1-E1CrossoverCable.bmp). Вставляю обратно в панасоник - тут же все поднимается. Единственное - от мультиплексора до панасоника - 1 метр патчкорд, а до Астериска метров 30 кабеля (пробовал через него подключать поток провайдера 1 - все работает).
Уже не знаю что пробовать :(
Куда копать то?
Спасибо.
спросил
2012-11-12 20:10:09 +0400
bichara 11 ● 2 ● 3