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

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2011-08-17 20:20:22 +0400

DJs3000 Gravatar DJs3000 flag of Russian Federation

http://retrogamesbattle.c...

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

лог дебага:

elastix*CLI> pri set debug on span 1
Enabled debugging on span 1
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

лог дебага:

elastix*CLI> pri set debug on span 1
Enabled debugging on span 1
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)

Это лог при простое! даже не при звонке

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

Дописанный лог дебага:

elastix*CLI> pri set debug on span 1
Enabled debugging on span 1
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)

Это лог при простое! даже не при звонкезвонке данный кусок зациклен.

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

Дописанный лог дебага:

elastix*CLI> pri set debug     -- Executing [89167947014@from-internal:1] Dial("SIP/105-00000003", "Dahdi/g1/89167947014") in new stack
-- Making new call for cref 32771
    -- Requested transfer capability: 0x00 - SPEECH

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=37
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: SETUP (5)
TEI=0 Transmitting N(S)=4, window is open V(A)=4 K=7

> Protocol Discriminator: Q.931 (8)  len=37
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>                                User information layer 1: A-Law (35)
> [18 03 a1 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Preferred  Dchan: 0
>                       ChanSel: As indicated in following octets
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 1 Type: CPE]
> [6c 05 41 80 31 30 35]
> Calling Number (len= 7) [ Ext: 0  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number not screened (0)  '105' ]
> [70 0c a1 38 39 31 36 37 39 34 37 30 31 34]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '89167947014' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4959 q931_setup: Call 32771 enters state 1 (Call Initiated).  Hold state: Idle
    -- Called g1/89167947014

< Protocol Discriminator: Q.931 (8)  len=10
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
<                       ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 Type: CPE]
Received message for call 0x8e7f6d8 on 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
q931.c:6998 post_handle_q931_message: Call 32771 enters state 3 (Outgoing Call Proceeding).  Hold state: Idle
    -- DAHDI/1-1 is proceeding passing it to SIP/105-00000003

< Protocol Discriminator: Q.931 (8)  len=9
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: DISCONNECT (69)
< [08 02 82 bf]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Service or option not available, unspecified (63), class = Service or Option not Available (3) ]
Received message for call 0x8e7f6d8 on 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Found active call: 0x8e7f6d8 cref:32771
q931.c:7201 post_handle_q931_message: Call 32771 enters state 12 (Disconnect Indication).  Hold state: Idle
    -- Channel 0/1, span 1
Enabled debugging 1 got hangup request, cause 63
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:4721 q931_release: Call 32771 enters state 19 (Release Request).  Hold state: Idle

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=9
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=5, window is open V(A)=5 K=7

> Protocol Discriminator: Q.931 (8)  len=9
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: RELEASE (77)
> [08 02 81 bf]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Service or option not available, unspecified (63), class = Service or Option not Available (3) ]
    -- Hungup 'DAHDI/1-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [89167947014@from-internal:2] NoCDR("SIP/105-00000003", "") in new stack
    -- Executing [89167947014@from-internal:3] Progress("SIP/105-00000003", "") in new stack
    -- Executing [89167947014@from-internal:4] Wait("SIP/105-00000003", "1") in new stack

< Protocol Discriminator: Q.931 (8)  len=5
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: RELEASE COMPLETE (90)
Received message for call 0x8e7f6d8 on span 1
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 Sending SABME
TEI=0 MDL-ERROR (G): T200 expired N200 times sending SABME in 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
q931.c:7083 post_handle_q931_message: Call 32771 enters state 5(Awaiting establishment)
Changing from state 5(Awaiting establishment) to 4(TEI assigned)
q931.c:7700 q931_dl_indication: link is DOWN
TEI=0 Sending SABME
Changing from state 4(TEI assigned) to 5(Awaiting establishment)
0 (Null).  Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle
    -- Executing [89167947014@from-internal:5] Playback("SIP/105-00000003", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <SIP/105-00000003> Playing 'silence/1.gsm' (language 'ru')
    -- <SIP/105-00000003> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <SIP/105-00000003> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Executing [89167947014@from-internal:6] Wait("SIP/105-00000003", "1") in new stack
    -- Executing [89167947014@from-internal:7] Congestion("SIP/105-00000003", "20") in new stack
  == Spawn extension (from-internal, 89167947014, 7) exited non-zero on 'SIP/105-00000003'
    -- Executing [h@from-internal:1] Macro("SIP/105-00000003", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/105-00000003", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("SIP/105-00000003", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/105-00000003", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/105-00000003", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/105-00000003", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("SIP/105-00000003", "") in new stack
  == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/105-00000003' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/105-00000003'

Это лог при простое! даже не при звонке данный кусок зациклен.

Конфигурирование E1

Был настроен Е1 и работал как часы! Повайдер решил поменять оборудование и после этого Е1 перестал работать :( Карта Digium TE121b при звонке в логе вижу:

-- Executing [892503472хх@from-internal:1] Dial("SIP/911-00000002", "Dahdi/g1/892503472хх") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/892503472хх
-- DAHDI/1-1 is proceeding passing it to SIP/911-00000002
-- Channel 0/1, span 1 got hangup request, cause 63
-- Hungup 'DAHDI/1-1'

конфиги: dahdi/system.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-6
dchan=16
loadzone        = ru
defaultzone     = ru

asterisk/chan_dahdi.conf

[trunkgroups]

[channels]
language=ru
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes

group=1
;;;[E1]
context=menu
switchtype=euroisdn
;prilocaldialplan=local
;pridialplan=national
signalling=pri_cpe
;faxdetect=incoming
channel =>1-6

провайдер говорит что у него всё шоколадно! Как включить дебаг чтоб понять что происходит ну или у кого есть может какие замечания. Спасибо.

Дописанный лог дебага:

    -- Executing [89167947014@from-internal:1] Dial("SIP/105-00000003", "Dahdi/g1/89167947014") in new stack
-- Making new call for cref 32771
    -- Requested transfer capability: 0x00 - SPEECH

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=37
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: SETUP (5)
TEI=0 Transmitting N(S)=4, window is open V(A)=4 K=7

> Protocol Discriminator: Q.931 (8)  len=37
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>                                User information layer 1: A-Law (35)
> [18 03 a1 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Preferred  Dchan: 0
>                       ChanSel: As indicated in following octets
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 1 Type: CPE]
> [6c 05 41 80 31 30 35]
> Calling Number (len= 7) [ Ext: 0  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number not screened (0)  '105' ]
> [70 0c a1 38 39 31 36 37 39 34 37 30 31 34]
> Called Number (len=14) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '89167947014' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4959 q931_setup: Call 32771 enters state 1 (Call Initiated).  Hold state: Idle
    -- Called g1/89167947014

< Protocol Discriminator: Q.931 (8)  len=10
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
<                       ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 1  Channel: 1 Type: CPE]
Received message for call 0x8e7f6d8 on 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
q931.c:6998 post_handle_q931_message: Call 32771 enters state 3 (Outgoing Call Proceeding).  Hold state: Idle
    -- DAHDI/1-1 is proceeding passing it to SIP/105-00000003

< Protocol Discriminator: Q.931 (8)  len=9
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: DISCONNECT (69)
< [08 02 82 bf]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Service or option not available, unspecified (63), class = Service or Option not Available (3) ]
Received message for call 0x8e7f6d8 on 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Found active call: 0x8e7f6d8 cref:32771
q931.c:7201 post_handle_q931_message: Call 32771 enters state 12 (Disconnect Indication).  Hold state: Idle
    -- Channel 0/1, span 1 got hangup request, cause 63
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:4721 q931_release: Call 32771 enters state 19 (Release Request).  Hold state: Idle

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=9
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=5, window is open V(A)=5 K=7

> Protocol Discriminator: Q.931 (8)  len=9
> TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
> Message Type: RELEASE (77)
> [08 02 81 bf]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Service or option not available, unspecified (63), class = Service or Option not Available (3) ]
    -- Hungup 'DAHDI/1-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [89167947014@from-internal:2] NoCDR("SIP/105-00000003", "") in new stack
    -- Executing [89167947014@from-internal:3] Progress("SIP/105-00000003", "") in new stack
    -- Executing [89167947014@from-internal:4] Wait("SIP/105-00000003", "1") in new stack

< Protocol Discriminator: Q.931 (8)  len=5
< TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
< Message Type: RELEASE COMPLETE (90)
Received message for call 0x8e7f6d8 on 0x8eb6538 TEI/SAPI 0/0, call->pri is 0x8eb6538 TEI/SAPI 0/0
q931.c:7083 post_handle_q931_message: Call 32771 enters state 0 (Null).  Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle
    -- Executing [89167947014@from-internal:5] Playback("SIP/105-00000003", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <SIP/105-00000003> Playing 'silence/1.gsm' (language 'ru')
    -- <SIP/105-00000003> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <SIP/105-00000003> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Executing [89167947014@from-internal:6] Wait("SIP/105-00000003", "1") in new stack
    -- Executing [89167947014@from-internal:7] Congestion("SIP/105-00000003", "20") in new stack
  == Spawn extension (from-internal, 89167947014, 7) exited non-zero on 'SIP/105-00000003'
    -- Executing [h@from-internal:1] Macro("SIP/105-00000003", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/105-00000003", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("SIP/105-00000003", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/105-00000003", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/105-00000003", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/105-00000003", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("SIP/105-00000003", "") in new stack
  == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/105-00000003' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/105-00000003'

Дописал:

elastix*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Overlap Dial: 0
Logical Channel Mapping: 0
Timer and counter settings:
  N200: 3
  N202: 3
  K: 7
  T200: 1000
  T202: 10000
  T203: 10000
  T303: 4000
  T305: 30000
  T308: 4000
  T309: 6000
  T313: 4000
  T-HOLD: 4000
  T-RETRIEVE: 4000
  T-RESPONSE: 4000
Overlap Recv: No

[root@elastix asterisk]# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TE121 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE121 (VPMADT032)
location=PCI Bus 03 Slot 09
basechan=1
totchans=31
irq=169
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS

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