Имеется Asterisk-станция, на которой двухпортовая E1-карточка. В span1, соответственно, оператор. В span2 связь с атс Ericsson BP250.
Потоки заведены следующим образом:
Код: Выделить всё
span=1,1,0,ccs,hdb3
span=2,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
alaw=1-15,17-31
echocanceller=mg2,1-15,17-31
bchan=32-46,48-62
dchan=47
alaw=32-46,48-62
echocanceller=mg2,32-46,48-62
Код: Выделить всё
language=ru
echocancel=yes
echotraining=no
group=0
context=from-trunk
switchtype=euroisdn
signalling=pri_cpe
pridialplan=national
prilocaldialplan=national
channel=>1-15,17-31
language=ru
echocancel=yes
echotraining=no
group=1
context=from-internal
switchtype=euroisdn
signalling=pri_net
pridialplan=national
prilocaldialplan=national
channel=>32-46,48-62
Как понимаю, с тайм-слипами картина удовлетворительная? или нет:
Код: Выделить всё
# cat /proc/dahdi/1
Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" CCS/HDB3 ClockSource
Timing slips: 4
[root@algocapital ~]# cat /proc/dahdi/2
Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" (MASTER) CCS/HDB3
Timing slips: 1
из расчёта на
# asterisk -rx "pri show span 1"
Q931 RX: 6
Q931 TX: 4
Q921 RX: 139
Q921 TX: 139
# asterisk -rx "pri show span 2"
Q931 RX: 0
Q931 TX: 0
Q921 RX: 80
Q921 TX: 80
Насколько я понимаю, HDLC - как бы подразумевает что неполадки на канальном уровне.
Код: Выделить всё
[2020-10-20 13:57:09] NOTICE[20490]: chan_dahdi.c:3246 my_handle_dchan_exception: PRI got event: HDLC Abort (6) on D-channel of span 1
[2020-10-20 13:57:09] NOTICE[20491]: chan_dahdi.c:3246 my_handle_dchan_exception: PRI got event: HDLC Abort (6) on D-channel of span 2
Что я могу упускать из вида?
Может kernel's clock чудит? Поверните в верную сторону плз, а то уже невесело как-то. Patloop-test без ошибок. Прерывание ни с кем не разделяем.
В этой информации можно как-то разобраться, что вот за 0 bytes of data :/
Код: Выделить всё
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > V(A)=1, V(S)=1, V(R)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > T200_id=0, N200=3, T203_id=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > [ 00 01 01 03 ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > Supervisory frame:
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > SAPI: 00 C/R: 0 EA: 0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > TEI: 000 EA: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > N(R): 001 P/F: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > 0 bytes of data
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 -- Starting T200 timer
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < TEI: 0 State 8(Timer recovery)
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < V(A)=1, V(S)=1, V(R)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < [ 02 01 01 03 ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < Supervisory frame:
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < TEI: 000 EA: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < N(R): 001 P/F: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < 0 bytes of data
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > TEI: 0 State 8(Timer recovery)
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > V(A)=1, V(S)=1, V(R)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > [ 02 01 01 03 ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > Supervisory frame:
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > TEI: 000 EA: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > N(R): 001 P/F: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 > 0 bytes of data
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 -- Got ACK for N(S)=1 to (but not including) N(S)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 Done handling message for SAPI/TEI=0/0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < TEI: 0 State 8(Timer recovery)
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < V(A)=1, V(S)=1, V(R)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < [ 00 01 01 03 ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < Supervisory frame:
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < TEI: 000 EA: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < N(R): 001 P/F: 1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 < 0 bytes of data
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 -- Got ACK for N(S)=1 to (but not including) N(S)=1
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 -- Stopping T200 timer
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 -- Starting T203 timer
[2020-10-20 14:39:09] VERBOSE[20242] chan_dahdi.c: PRI Span: 1 Done handling message for SAPI/TEI=0/0
[/quote]
[quote]
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > TEI: 0 State 7(Multi-frame established)
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > V(A)=0, V(S)=0, V(R)=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > T200_id=0, N200=3, T203_id=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > [ 02 01 01 01 ]
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > Supervisory frame:
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > TEI: 000 EA: 1
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > N(R): 000 P/F: 1
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > 0 bytes of data
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Starting T200 timer
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < TEI: 0 State 8(Timer recovery)
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < V(A)=0, V(S)=0, V(R)=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < T200_id=16384, N200=3, T203_id=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < [ 02 01 01 01 ]
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < Supervisory frame:
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < TEI: 000 EA: 1
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < N(R): 000 P/F: 1
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < 0 bytes of data
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Got ACK for N(S)=0 to (but not including) N(S)=0
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Stopping T200 timer
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Starting T203 timer
[2020-10-20 14:46:56] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 Done handling message for SAPI/TEI=0/0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 t203_expire
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > TEI: 0 State 7(Multi-frame established)
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > V(A)=0, V(S)=0, V(R)=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > T200_id=0, N200=3, T203_id=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > [ 02 01 01 01 ]
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > Supervisory frame:
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > TEI: 000 EA: 1
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > N(R): 000 P/F: 1
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 > 0 bytes of data
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Starting T200 timer
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < TEI: 0 State 8(Timer recovery)
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < V(A)=0, V(S)=0, V(R)=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < T200_id=16384, N200=3, T203_id=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < [ 02 01 01 01 ]
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < Supervisory frame:
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < SAPI: 00 C/R: 1 EA: 0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < TEI: 000 EA: 1
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < N(R): 000 P/F: 1
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 < 0 bytes of data
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Got ACK for N(S)=0 to (but not including) N(S)=0
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Stopping T200 timer
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 -- Starting T203 timer
[2020-10-20 14:47:06] VERBOSE[20243] chan_dahdi.c: PRI Span: 2 Done handling message for SAPI/TEI=0/0