Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Перестал работать dahdi

0

Карта te220p Elastix 2.2

Ни стого ни с сего перестал работать dahdi, конфигурация не менялась, провайдер уверяет, что у него все ок, прошу вашей помощи, не могу разобраться

[

root@asterisk ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Jan 19 08:22:21 2015
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62

# Global data

loadzone        = us
defaultzone     = us

Далее

  [root@asterisk ~]# lsdahdi
    ### Span  1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 ClockSource
      1 PRI        Clear       (In use) (SWEC: OSLEC)
      2 PRI        Clear       (In use) (SWEC: OSLEC)
      3 PRI        Clear       (In use) (SWEC: OSLEC)
      4 PRI        Clear       (In use) (SWEC: OSLEC)
      5 PRI        Clear       (In use) (SWEC: OSLEC)
      6 PRI        Clear       (In use) (SWEC: OSLEC)
      7 PRI        Clear       (In use) (SWEC: OSLEC)
      8 PRI        Clear       (In use) (SWEC: OSLEC)
      9 PRI        Clear       (In use) (SWEC: OSLEC)
     10 PRI        Clear       (In use) (SWEC: OSLEC)
     11 PRI        Clear       (In use) (SWEC: OSLEC)
     12 PRI        Clear       (In use) (SWEC: OSLEC)
     13 PRI        Clear       (In use) (SWEC: OSLEC)
     14 PRI        Clear       (In use) (SWEC: OSLEC)
     15 PRI        Clear       (In use) (SWEC: OSLEC)
     16 PRI        HDLCFCS     (In use)
     17 PRI        Clear       (In use) (SWEC: OSLEC)
......
        ### Span  2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4 RED
         32 PRI        Clear       (In use) (SWEC: OSLEC)  RED
         33 PRI        Clear       (In use) (SWEC: OSLEC)  RED
...........

Дебаг самого интерфейса, прогуглил вроде ничего крименального

PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 SAPI/TEI=0/0 Starting link restart delay timer
PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 1 SAPI/TEI=0/0 Kick starting link
PRI Span: 1 -- T203 requested to stop when not started
PRI Span: 1 -- Restarting T200 timer
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 4(TEI assigned)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 SAPI/TEI=0/0 Starting link restart delay timer
PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 1 SAPI/TEI=0/0 Kick starting link
PRI Span: 1 -- T203 requested to stop when not started
PRI Span: 1 -- Restarting T200 timer
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 4(TEI assigned)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)

Далее

[root@asterisk ~]# cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Thu May 10 16:15:26 2012
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63

В чем может быть проблема? Ни входящие, ни исходящие не работают, при исходящих

    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/174-00000005", "DAHDI/g0/84959742303,300,") in new stack
PRI Span: 1 -- Making new call for cref 32772
    -- Requested transfer capability: 0x00 - SPEECH
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8)  len=37
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Just queued I-frame since in state 5(Awaiting establishment)
PRI Span: 1 q931.c:6036 q931_setup: Call 32772 enters state 1 (Call Initiated).  Hold state: Idle
    -- Called DAHDI/g0/84959742303
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 SAPI/TEI=0/0 Starting link restart delay timer
PRI Span: 1 TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
PRI Span: 1 Changing from state 5(Awaiting establishment) to 4(TEI assigned)
PRI Span: 1 TEI=0 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
PRI Span: 1 Cancel call cref=32772 on channel 1 in state 1 (Call Initiated)
PRI Span: 1 Cancel call after data link failure
PRI Span: 1 q931.c:9284 pri_dl_down_cancelcall: Call 32772 enters state 0 (Null).  Hold state: Idle
PRI Span: 1 q931.c:9219 pri_internal_clear: alive 1, hangupack 1
Span: 1 Processing event: PRI_EVENT_HANGUP
    -- Span 1: Channel 0/1 got hangup, cause 27
    -- DAHDI/i1/84959742303-4 is circuit-busy
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:32772
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Destroying call 0x2aaaacb2b7b0, ourstate Null, peerstate Null, hold-state Idle
    -- Hungup 'DAHDI/i1/84959742303-4'
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/174-00000005", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 27") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/174-00000005", "s-CONGESTION,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/174-00000005", "RC=27") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/174-00000005", "27,1") in new stack
    -- Goto (macro-dialout-trunk,27,1)
    -- Executing [27@macro-dialout-trunk:1] Goto("SIP/174-00000005", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/174-00000005", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/174-00000005", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 27 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/174-00000005", "CALLERID(number)=174") in new stack
    -- Executing [84959742303@from-internal:7] Macro("SIP/174-00000005", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/174-00000005", "") in new stack
   -- Executing [s@macro-outisbusy:2] GotoIf("SIP/174-00000005", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/174-00000005", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/174-00000005", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/174-00000005> Playing 'all-circuits-busy-now.gsm' (language 'en')
PRI Span: 1 SAPI/TEI=0/0 Kick starting link
PRI Span: 1 -- T203 requested to stop when not started
PRI Span: 1 -- Restarting T200 timer
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 4(TEI assigned)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Changing from state 4(TEI assigned) to 5(Awaiting establishment)
    -- <SIP/174-00000005> Playing 'pls-try-call-later.gsm' (language 'en')
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=0, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=1, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
PRI Span: 1 t200_expire
PRI Span: 1   TEI: 0 State 5(Awaiting establishment)
PRI Span: 1   V(A)=0, V(S)=0, V(R)=0
PRI Span: 1   K=7, RC=2, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1   T200_id=8192, N200=3, T203_id=0
PRI Span: 1 TEI=0 Sending SABME
PRI Span: 1
PRI Span: 1 > TEI: 0 State 5(Awaiting establishment)
PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0
PRI Span: 1 > K=7, RC=3, l3_initiated=1, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 00 01 7f ]
PRI Span: 1 > Unnumbered frame:
PRI Span: 1 > SAPI: 00  C/R: 0 EA: 0
PRI Span: 1 >  TEI: 000        EA: 1
PRI Span: 1 >   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode extended) ]
PRI Span: 1 > 0 bytes of data
PRI Span: 1 -- Starting T200 timer
удалить закрыть спам изменить тег редактировать

спросил 2015-01-19 10:53:01 +0400

teleman Gravatar teleman
11 8 4

Comments

Сдохла карта, очень плохо.

zzuz ( 2015-01-19 12:49:02 +0400 )редактировать

dahdi_test при вырубленном астере - проходит? И если петлей замкнуть порты - линки в UP встают?

Zavr2008 ( 2015-01-19 13:56:07 +0400 )редактировать

2 Ответа

0

На новой карте все с полпинка взлетело, всем спасибо. Симптомы 1 в 1 как в блоге Гончаровского http://igorg.ru/2014/07/10/na-polyax-sdoxla-plata/

ссылка удалить спам редактировать

ответил 2015-01-19 18:26:40 +0400

teleman Gravatar teleman
11 8 4

Comments

так сразу же написал) тут даже без поиска понятно)

zzuz ( 2015-01-19 18:47:54 +0400 )редактировать
0

у вас канал в состоянии red. это либо hardware issue(кабель, порт у вас либо провайдера), либо очень сильно не так с опцями(например другой протокол).

установить удаленно по вашей информации не представляется возможным.

ссылка удалить спам редактировать

ответил 2015-01-19 16:29:30 +0400

meral Gravatar meral flag of Ukraine
21228 23 18 169
http://pro-sip.net/

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2015-01-19 10:53:01 +0400

Просмотрен: 276 раз

Обновлен: Jan 19 '15

Похожие вопросы:

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.