Пришел с вопросом.
Имею карту OpenVox D230E на PCE-E.
Вставлена в сервак DELL PowerEdge 730
Все определилось, модули загрузились, конфигурация сгенерилась.
Имею проблему с sig_pri.c: Span 1: Channel 0/1 got hangup, cause 27 (Destination out of order)
Дозвон через любой таймслот показывает занято.
Может уже замылился глаз, прошу помощи.
Астериск
Код: Выделить всё
cleep1*CLI> core show version
Asterisk 16.5.0 built by root @ cleep1 on a x86_64 running Linux on 2019-08-07 16:01:43 UTC
Код: Выделить всё
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
Код: Выделить всё
root@cleep1:~# lsmod | grep wc
wct4xxp 86016 62
oct612x 167936 1 wct4xxp
dahdi 233472 126 wct4xxp,oct612x
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
06:00.0 Network controller: Digium, Inc. Wildcard TE220 dual-span T1/E1/J1 card 3.3V (PCI-Express) (5th gen) (rev 15)
Subsystem: Device 0005:0000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (8000ns min, 32000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 15
NUMA node: 0
Region 0: Memory at 91c00000 (32-bit, non-prefetchable) [size=32K]
Subsystem: Device 0005:0000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (8000ns min, 32000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 15
NUMA node: 0
Region 0: Memory at 91c00000 (32-bit, non-prefetchable) [size=32K]
system.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=mg2,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=mg2,32-46,48-62
# Global data
loadzone = ru
defaultzone = ru
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=mg2,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=mg2,32-46,48-62
# Global data
loadzone = ru
defaultzone = ru
Код: Выделить всё
[89881.430048] wct4xxp 0000:06:00.0: VPM450: Not Present
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER).
group=0,11
context=to-beeline-grp
pridialplan=unknown
prilocaldialplan=unknown
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=to-beeline-grp
pridialplan=unknown
prilocaldialplan=unknown
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
group=0,11
context=to-beeline-grp
pridialplan=unknown
prilocaldialplan=unknown
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=to-beeline-grp
pridialplan=unknown
prilocaldialplan=unknown
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
extensions.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[to-beeline-grp]
exten => _X.,1,Noop(Set CallerID)
exten => _X.,n,Set(CALLERID(number)=091115217)
exten => _X.,n,Dial(DAHDI/g11/${EXTEN})
exten => _X.,1,Noop(Set CallerID)
exten => _X.,n,Set(CALLERID(number)=091115217)
exten => _X.,n,Dial(DAHDI/g11/${EXTEN})
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
cleep1*CLI> dahdi show status
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
T2XXP (PCI) Card 0 Span 1 OK 1 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
T2XXP (PCI) Card 0 Span 2 OK 1 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
cleep1*CLI> pri show spans
PRI span 1/0: Up, Active
PRI span 2/0: Down, Active
pri show channels
все 62 линии в
1 2 Yes Yes Idle No
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
T2XXP (PCI) Card 0 Span 1 OK 1 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
T2XXP (PCI) Card 0 Span 2 OK 1 0 0 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
cleep1*CLI> pri show spans
PRI span 1/0: Up, Active
PRI span 2/0: Down, Active
pri show channels
все 62 линии в
1 2 Yes Yes Idle No
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] pbx.c: Executing [091201942@to-beeline-grp:1] NoOp("SIP/100-00000004", "Set CallerID") in new stack
[Aug 10 23:26:25] DEBUG[4799][C-00000006] pbx.c: Launching 'Set'
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] pbx.c: Executing [091201942@to-beeline-grp:2] Set("SIP/100-00000004", "CALLERID(number)=091115217") in new stack
[Aug 10 23:26:25] DEBUG[4799][C-00000006] pbx.c: Launching 'Dial'
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] pbx.c: Executing [091201942@to-beeline-grp:3] Dial("SIP/100-00000004", "DAHDI/g11/091201942") in new stack
[Aug 10 23:26:25] DEBUG[4799][C-00000006] chan_dahdi.c: Using channel 1
[Aug 10 23:26:25] DEBUG[4799][C-00000006] sig_pri.c: sig_pri_request 1
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Creating topic. name: channel:1565465185.8, detail:
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Topic 'channel:1565465185.8': 0x7f2f2c007cc0 created
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Creating topic. name: cache:14/channel:1565465185.8, detail:
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Topic 'cache:14/channel:1565465185.8': 0x7f2f2c003b90 created
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' allocated
[Aug 10 23:26:25] DEBUG[4799][C-00000006] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Aug 10 23:26:25] DEBUG[4799][C-00000006] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 2 (In use)
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/I1/congestion - state 1 (Not in use)
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel_internal_api.c: Channel Call ID changing from [C-00000006] to [C-00000006]
[Aug 10 23:26:25] DEBUG[4799][C-00000006] rtp_engine.c: Can't find native functions for channel 'DAHDI/i1/091201942-1'
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/I1/congestion' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[4799][C-00000006] sig_pri.c: CALLER NAME: NUM: 091115217
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] sig_pri.c: Requested transfer capability: 0x00 - SPEECH
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] app_dial.c: Called DAHDI/g11/091201942
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 2 (In use)
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel DAHDI/i1/091201942-1 setting read format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel SIP/100-00000004 setting write format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel SIP/100-00000004 setting read format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel DAHDI/i1/091201942-1 setting write format path: alaw -> alaw
[Aug 10 23:26:29] VERBOSE[4785] sig_pri.c: Primary D-Channel on span 1 up
[Aug 10 23:26:29] VERBOSE[4785][C-00000006] sig_pri.c: Span 1: Channel 0/1 got hangup, cause 27
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] app_dial.c: DAHDI/i1/091201942-1 is circuit-busy
[Aug 10 23:26:29] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' hanging up. Refs: 2
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: dahdi_hangup(DAHDI/i1/091201942-1)
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] DEBUG[3867] cdr.c: Finalized CDR for SIP/100-00000004 - start 1565465185.976958 answer 0.000000 end 1565465189.863648 dispo FAILED
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: sig_pri_hangup 1
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Channel 'DAHDI/i1/091201942-1' MOH-Event: SIG_PRI_MOH_EVENT_RESET in state SIG_PRI_MOH_STATE_IDLE
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Channel 'DAHDI/i1/091201942-1' MOH-Next-State: $
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Already hungup... Calling hangup once, and clearing call
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Updated conferencing on 1, with 0 conference users
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] chan_dahdi.c: Hungup 'DAHDI/i1/091201942-1'
[Aug 10 23:26:29] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' destroying
[Aug 10 23:26:29] DEBUG[3867] cdr.c: Finalized CDR for DAHDI/i1/091201942-1 - start 1565465185.977898 answer 0.000000 end 1565465189.863858 dispo NO ANSWER
[Aug 10 23:26:29] DEBUG[3867] cdr.c: CDR for DAHDI/i1/091201942-1 is dialed and has no Party B; discarding
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Destroying topic. name: cache:14/channel:1565465185.8, detail:
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Topic 'cache:14/channel:1565465185.8': 0x7f2f2c003b90 destroyed
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Destroying topic. name: channel:1565465185.8, detail:
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Topic 'channel:1565465185.8': 0x7f2f2c007cc0 destroyed
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[Aug 10 23:26:29] DEBUG[4799][C-00000006] app_dial.c: Exiting with DIALSTATUS=CONGESTION.
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] pbx.c: Auto fallthrough, channel 'SIP/100-00000004' status is 'CONGESTION'
[Aug 10 23:26:29] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 0 (Unknown)
[Aug 10 23:26:29] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[4799][C-00000006] pbx.c: Launching 'Set'
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] pbx.c: Executing [091201942@to-beeline-grp:2] Set("SIP/100-00000004", "CALLERID(number)=091115217") in new stack
[Aug 10 23:26:25] DEBUG[4799][C-00000006] pbx.c: Launching 'Dial'
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] pbx.c: Executing [091201942@to-beeline-grp:3] Dial("SIP/100-00000004", "DAHDI/g11/091201942") in new stack
[Aug 10 23:26:25] DEBUG[4799][C-00000006] chan_dahdi.c: Using channel 1
[Aug 10 23:26:25] DEBUG[4799][C-00000006] sig_pri.c: sig_pri_request 1
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Creating topic. name: channel:1565465185.8, detail:
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Topic 'channel:1565465185.8': 0x7f2f2c007cc0 created
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Creating topic. name: cache:14/channel:1565465185.8, detail:
[Aug 10 23:26:25] DEBUG[4799][C-00000006] stasis.c: Topic 'cache:14/channel:1565465185.8': 0x7f2f2c003b90 created
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' allocated
[Aug 10 23:26:25] DEBUG[4799][C-00000006] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Aug 10 23:26:25] DEBUG[4799][C-00000006] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 2 (In use)
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/I1/congestion - state 1 (Not in use)
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel_internal_api.c: Channel Call ID changing from [C-00000006] to [C-00000006]
[Aug 10 23:26:25] DEBUG[4799][C-00000006] rtp_engine.c: Can't find native functions for channel 'DAHDI/i1/091201942-1'
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/I1/congestion' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[4799][C-00000006] sig_pri.c: CALLER NAME: NUM: 091115217
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] sig_pri.c: Requested transfer capability: 0x00 - SPEECH
[Aug 10 23:26:25] VERBOSE[4799][C-00000006] app_dial.c: Called DAHDI/g11/091201942
[Aug 10 23:26:25] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 2 (In use)
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel DAHDI/i1/091201942-1 setting read format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel SIP/100-00000004 setting write format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel SIP/100-00000004 setting read format path: alaw -> alaw
[Aug 10 23:26:25] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Aug 10 23:26:25] DEBUG[4799][C-00000006] channel.c: Channel DAHDI/i1/091201942-1 setting write format path: alaw -> alaw
[Aug 10 23:26:29] VERBOSE[4785] sig_pri.c: Primary D-Channel on span 1 up
[Aug 10 23:26:29] VERBOSE[4785][C-00000006] sig_pri.c: Span 1: Channel 0/1 got hangup, cause 27
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] app_dial.c: DAHDI/i1/091201942-1 is circuit-busy
[Aug 10 23:26:29] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' hanging up. Refs: 2
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: dahdi_hangup(DAHDI/i1/091201942-1)
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] DEBUG[3867] cdr.c: Finalized CDR for SIP/100-00000004 - start 1565465185.976958 answer 0.000000 end 1565465189.863648 dispo FAILED
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: sig_pri_hangup 1
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Channel 'DAHDI/i1/091201942-1' MOH-Event: SIG_PRI_MOH_EVENT_RESET in state SIG_PRI_MOH_STATE_IDLE
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Channel 'DAHDI/i1/091201942-1' MOH-Next-State: $
[Aug 10 23:26:29] DEBUG[4799][C-00000006] sig_pri.c: Already hungup... Calling hangup once, and clearing call
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option TDD MODE, value: OFF(0) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Updated conferencing on 1, with 0 conference users
[Aug 10 23:26:29] DEBUG[4799][C-00000006] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/i1/091201942-1
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] chan_dahdi.c: Hungup 'DAHDI/i1/091201942-1'
[Aug 10 23:26:29] DEBUG[4799][C-00000006] channel.c: Channel 0x7f2f2c004ee0 'DAHDI/i1/091201942-1' destroying
[Aug 10 23:26:29] DEBUG[3867] cdr.c: Finalized CDR for DAHDI/i1/091201942-1 - start 1565465185.977898 answer 0.000000 end 1565465189.863858 dispo NO ANSWER
[Aug 10 23:26:29] DEBUG[3867] cdr.c: CDR for DAHDI/i1/091201942-1 is dialed and has no Party B; discarding
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Destroying topic. name: cache:14/channel:1565465185.8, detail:
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Topic 'cache:14/channel:1565465185.8': 0x7f2f2c003b90 destroyed
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Destroying topic. name: channel:1565465185.8, detail:
[Aug 10 23:26:29] DEBUG[4799][C-00000006] stasis.c: Topic 'channel:1565465185.8': 0x7f2f2c007cc0 destroyed
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[Aug 10 23:26:29] DEBUG[4799][C-00000006] app_dial.c: Exiting with DIALSTATUS=CONGESTION.
[Aug 10 23:26:29] VERBOSE[4799][C-00000006] pbx.c: Auto fallthrough, channel 'SIP/100-00000004' status is 'CONGESTION'
[Aug 10 23:26:29] DEBUG[3858] devicestate.c: Changing state for DAHDI/i1/091201942 - state 0 (Unknown)
[Aug 10 23:26:29] DEBUG[3898] app_queue.c: Device 'DAHDI/i1/091201942' changed to state '0' (Unknown) but we don't care because they're not a member of any queue.
, вот его конфа
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
--log-file=/opt/distr/client/pjlog
--color
--duration=5
--log-level=5
--null-audio
--local-port=5066
--registrar sip:100@10.3.0.145
--id sip:100@10.3.0.145
--username 100
--password 123
--realm *
--use-srtp 0
--srtp-secure=0
--color
--duration=5
--log-level=5
--null-audio
--local-port=5066
--registrar sip:100@10.3.0.145
--id sip:100@10.3.0.145
--username 100
--password 123
--realm *
--use-srtp 0
--srtp-secure=0
Спасибо.