Сообщений: 4
|
Re: Прерывается звонок через 600 секунд
Alekz: Ну вот поток и дебаж. Какой cause code?
Enabled debugging on span 1
< Protocol Discriminator: Q.931 (8) len=21
< TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent from originator)
< Message Type: SETUP (5)
< [04 03 90 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< User information layer 1: A-Law (35)
< [18 03 a1 83 9f]
< 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: 31 Type: CPE]
< [70 04 89 31 39 31]
< Called Number (len= 6) [ Ext: 1 TON: Unknown Number Type (0) NPI: Private Numbering Plan (9) '191' ]
-- Making new call for cref 85
Received message for call 0xb6fd9b90 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 112 (cs0, Called Party Number)
q931.c:6871 post_handle_q931_message: Call 85 enters state 6 (Call Present). Hold state: Idle
q931.c:4524 q931_call_proceeding: Call 85 enters state 9 (Incoming Call Proceeding). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
TEI=0 Transmitting N(S)=100, window is open V(A)=100 K=7
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
> [18 03 a9 83 9f]
> 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: 31 Type: CPE]
-- Accepting call from '' to '191' on channel 0/31, span 1
-- Executing [191@from_int:1] Dial("DAHDI/31-1", "DAHDI/g1/1039,60,S(700),tT") in new stack
-- Setting call duration limit to 700.000 seconds.
-- Making new call for cref 32794
-- Requested transfer capability: 0x10 - 3K1AUDIO
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=27
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: SETUP (5)
TEI=0 Transmitting N(S)=101, window is open V(A)=100 K=7
> Protocol Discriminator: Q.931 (8) len=27
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 90 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
> 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 02 21 c0]
> Calling Number (len= 4) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Unknown (64) '' ]
> [70 05 80 31 30 33 39]
> Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '1039' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4959 q931_setup: Call 32794 enters state 1 (Call Initiated). Hold state: Idle
-- Called g1/1039
< Protocol Discriminator: Q.931 (8) len=10
< TEI=0 Call Ref: len= 2 (reference 26/0x1A) (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 0x840c020 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
q931.c:6998 post_handle_q931_message: Call 32794 enters state 3 (Outgoing Call Proceeding). Hold state: Idle
-- DAHDI/1-1 is proceeding passing it to DAHDI/31-1
< Protocol Discriminator: Q.931 (8) len=48
< TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent to originator)
< Message Type: ALERTING (1)
< [1e 02 81 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
< [1c 25 91 aa 06 80 01 00 82 01 00 8b 01 00 a1 17 02 01 41 06 04 2b 0c 09 01 80 0c cc f3 f1 e8 ed 20 d0 f3 f1 eb e0 ed]
< Facility (len=39, codeset=0) [ 0x91, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01, 'A', 0x06, 0x04, '+', 0x0C, 0x09, 0x01, 0x80, 0x0C, 0xCC, 0xF3, 0xF1, 0xE8, 0xED, ' ', 0xD0, 0xF3, 0xF1, 0xEB, 0xE0, 0xED ]
Received message for call 0x840c020 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 28 (cs0, Facility)
-- Delayed processing IE 28 (cs0, Facility)
ASN.1 dump
Context Specific/C [10 0x0A] <AA> Len:6 <06>
Context Specific [0 0x00] <80> Len:1 <01>
<00> - "~"
Context Specific [2 0x02] <82> Len:1 <01>
<00> - "~"
Context Specific [11 0x0B] <8B> Len:1 <01>
<00> - "~"
Context Specific/C [1 0x01] <A1> Len:23 <17>
Integer(2 0x02) <02> Len:1 <01>
<41> - "A"
OID(6 0x06) <06> Len:4 <04>
<2B 0C 09 01> - "+~~~"
Context Specific [0 0x00] <80> Len:12 <0C>
<CC F3 F1 E8 ED 20 D0 F3-F1 EB E0 ED> - "~~~~~ ~~~~~~"
ASN.1 end
nfe NetworkFacilityExtension Context Specific/C [10 0x0A]
sourceEntity Context Specific [0 0x00] = 0 0x0000
destinationEntity Context Specific [2 0x02] = 0 0x0000
interpretation Context Specific [11 0x0B] = 0 0x0000
INVOKE Component Context Specific/C [1 0x01]
invokeId Integer(2 0x02) = 65 0x0041
operationValue OID(6 0x06) = 43.12.9.1
operationValue = ROSE_Unknown
Skipping unused constructed component octets!
!! ROSE invoke operation not handled! ROSE_Unknown
q931.c:6888 post_handle_q931_message: Call 32794 enters state 4 (Call Delivered). Hold state: Idle
-- DAHDI/1-1 is ringing
q931.c:4552 q931_alerting: Call 85 enters state 7 (Call Received). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: ALERTING (1)
TEI=0 Transmitting N(S)=102, window is open V(A)=102 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: ALERTING (1)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
< Protocol Discriminator: Q.931 (8) len=44
< TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent to originator)
< Message Type: CONNECT (7)
< [1c 25 91 aa 06 80 01 00 82 01 00 8b 01 00 a1 17 02 01 42 06 04 2b 0c 09 02 80 0c cc f3 f1 e8 ed 20 d0 f3 f1 eb e0 ed]
< Facility (len=39, codeset=0) [ 0x91, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01, 'B', 0x06, 0x04, '+', 0x0C, 0x09, 0x02, 0x80, 0x0C, 0xCC, 0xF3, 0xF1, 0xE8, 0xED, ' ', 0xD0, 0xF3, 0xF1, 0xEB, 0xE0, 0xED ]
Received message for call 0x840c020 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
-- Processing IE 28 (cs0, Facility)
-- Delayed processing IE 28 (cs0, Facility)
ASN.1 dump
Context Specific/C [10 0x0A] <AA> Len:6 <06>
Context Specific [0 0x00] <80> Len:1 <01>
<00> - "~"
Context Specific [2 0x02] <82> Len:1 <01>
<00> - "~"
Context Specific [11 0x0B] <8B> Len:1 <01>
<00> - "~"
Context Specific/C [1 0x01] <A1> Len:23 <17>
Integer(2 0x02) <02> Len:1 <01>
<42> - "B"
OID(6 0x06) <06> Len:4 <04>
<2B 0C 09 02> - "+~~~"
Context Specific [0 0x00] <80> Len:12 <0C>
<CC F3 F1 E8 ED 20 D0 F3-F1 EB E0 ED> - "~~~~~ ~~~~~~"
ASN.1 end
nfe NetworkFacilityExtension Context Specific/C [10 0x0A]
sourceEntity Context Specific [0 0x00] = 0 0x0000
destinationEntity Context Specific [2 0x02] = 0 0x0000
interpretation Context Specific [11 0x0B] = 0 0x0000
INVOKE Component Context Specific/C [1 0x01]
invokeId Integer(2 0x02) = 66 0x0042
operationValue OID(6 0x06) = 43.12.9.2
operationValue = ROSE_Unknown
Skipping unused constructed component octets!
!! ROSE invoke operation not handled! ROSE_Unknown
q931.c:6919 post_handle_q931_message: Call 32794 enters state 10 (Active). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=5
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: CONNECT ACKNOWLEDGE (15)
TEI=0 Transmitting N(S)=103, window is open V(A)=103 K=7
> Protocol Discriminator: Q.931 (8) len=5
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: CONNECT ACKNOWLEDGE (15)
-- DAHDI/1-1 answered DAHDI/31-1
q931.c:4683 q931_connect: Call 85 enters state 8 (Connect Request). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=14
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: CONNECT (7)
TEI=0 Transmitting N(S)=104, window is open V(A)=103 K=7
> Protocol Discriminator: Q.931 (8) len=14
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: CONNECT (7)
> [18 03 a9 83 9f]
> 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: 31 Type: CPE]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
-- Native bridging DAHDI/31-1 and DAHDI/1-1
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent from originator)
< Message Type: CONNECT ACKNOWLEDGE (15)
Received message for call 0xb6fd9b90 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
q931.c:7024 post_handle_q931_message: Call 85 enters state 10 (Active). Hold state: Idle
asterisk*CLI>
< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent from originator)
< Message Type: DISCONNECT (69)
< [08 02 81 9f]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ]
Received message for call 0xb6fd9b90 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Found active call: 0xb6fd9b90 cref:85
q931.c:7201 post_handle_q931_message: Call 85 enters state 12 (Disconnect Indication). Hold state: Idle
-- Channel 0/31, span 1 got hangup request, cause 31
-- Executing [h@from_int:1] Hangup("DAHDI/31-1", "") in new stack
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request, hold-state Idle
q931.c:4768 q931_disconnect: Call 32794 enters state 11 (Disconnect Request). Hold state: Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: DISCONNECT (69)
TEI=0 Transmitting N(S)=105, window is open V(A)=105 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
-- Hungup 'DAHDI/1-1'
== Spawn extension (from_int, 191, 1) exited non-zero on 'DAHDI/31-1'
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 85 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 85/0x55) (Sent to originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=106, window is open V(A)=105 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent to originator)
> Message Type: RELEASE (77)
> [08 02 81 9f]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal, unspecified (31), class = Normal Event (1) ]
-- Hungup 'DAHDI/31-1'
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 85/0x55) (Sent from originator)
< Message Type: RELEASE COMPLETE (90)
Received message for call 0xb6fd9b90 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
q931.c:7083 post_handle_q931_message: Call 85 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
< Protocol Discriminator: Q.931 (8) len=5
< TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent to originator)
< Message Type: RELEASE (77)
Received message for call 0x840c020 on 0xb7565fd0 TEI/SAPI 0/0, call->pri is 0xb7565fd0 TEI/SAPI 0/0
q931.c:7123 post_handle_q931_message: Call 32794 enters state 0 (Null). Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request, hold-state Idle
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: RELEASE COMPLETE (90)
TEI=0 Transmitting N(S)=107, window is open V(A)=107 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 26/0x1A) (Sent from originator)
> Message Type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
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
asterisk*CLI>
попробовал увеличить время разговора большим числом в секундах, все равно рвет на 599-й или 600-й
|