Звонок с Астериска
Код: Выделить всё
< Protocol Discriminator: Q.931 (8) len=85
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: SETUP (5)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Coding-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 a9 83 8c]
< 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: 12 Type: NET]
< [1c 2d 91 aa 06 80 01 00 82 01 00 8b 01 00 a1 1f 02 02 03 f9 06 04 2b 0c 09 00 a1 13 04 0e 50 52 4f 56 45 52 4b 41 20 31 32 33 34 35 02 01 01]
< Facility (len=47, codeset=0) [ 0x91, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x1F, 0x02, 0x02, 0x03, 0xF9, 0x06, 0x04, '+', 0x0C, 0x09, 0x00, 0xA1, 0x13, 0x04, 0x0E, 'PROVERKA 12345', 0x02, 0x01, 0x01 ]
< [6c 06 00 83 38 38 38 32]
< Calling Party Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
< Presentation: Presentation allowed, Network provided (3) '8882' ]
< [70 05 80 31 30 30 35]
< Called Party Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '1005' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
< [95]
< Locking Shift (len=01): Requested codeset 5
< [31 01 80]
!! < Unknown IE 49 (cs5, len = 3)
-- Making new call for cref 49
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel ID)
-- Processing IE 28 (cs0, Facility)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
-- Processing IE 49 (cs5, Unknown Information Element)
!! Unknown IE 49 (cs5)
-- 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:31 <1F>
Integer(2 0x02) <02> Len:2 <02>
<03 F9> - "~~"
OID(6 0x06) <06> Len:4 <04>
<2B 0C 09 00> - "+~~~"
Context Specific/C [1 0x01] <A1> Len:19 <13>
Octet String(4 0x04) <04> Len:14 <0E>
<50 52 4F 56 45 52 4B 41-20 31 32 33 34 35> - "PROVERKA 12345"
Integer(2 0x02) <02> Len:1 <01>
<01> - "~"
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) = 1017 0x03F9
operationValue OID(6 0x06) = 43.12.9.0
operationValue = ROSE_QSIG_CallingName
callingName Name
namePresentationAllowedExtended NameSet Context Specific/C [1 0x01]
nameData Octet String(4 0x04) =
<50 52 4F 56 45 52 4B 41-20 31 32 33 34 35> - "PROVERKA 12345"
characterSet Integer(2 0x02) = 1 0x0001
q931.c:8661 post_handle_q931_message: Call 49 enters state 6 (Call Present). Hold state: Idle
q931.c:5707 q931_call_proceeding: Call 49 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 49/0x31) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
TEI=0 Transmitting N(S)=8, window is open V(A)=8 K=7
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
> [18 03 a9 83 8c]
> 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: 12 Type: NET]
q931.c:5739 q931_alerting: Call 49 enters state 7 (Call Received). Hold state: Idle
Adding facility ie contents to send in ALERTING message:
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:19 <13>
Integer(2 0x02) <02> Len:1 <01>
<03> - "~"
Integer(2 0x02) <02> Len:1 <01>
<01> - "~"
Context Specific [0 0x00] <80> Len:11 <0B>
<49 76 61 6E 6F 76 20 49-2E 49 2E> - "Ivanov I.I."
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) = 3 0x0003
operationValue Integer(2 0x02) = 1 0x0001
operationValue = ROSE_QSIG_CalledName
calledName Name
namePresentationAllowedSimple Context Specific [0 0x00] =
<49 76 61 6E 6F 76 20 49-2E 49 2E> - "Ivanov I.I."
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=44
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: ALERTING (1)
TEI=0 Transmitting N(S)=9, window is open V(A)=8 K=7
> Protocol Discriminator: Q.931 (8) len=44
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: ALERTING (1)
> [1c 21 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 13 02 01 03 02 01 01 80 0b 49 76 61 6e 6f 76 20 49 2e 49 2e]
> Facility (len=35, codeset=0) [ 0x9F, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x13, 0x02, 0x01, 0x03, 0x02, 0x01, 0x01, 0x80, 0x0B, 'Ivanov I.I.' ]
> [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=9
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Found active call: 0xb4fdc950 cref:49
q931.c:9099 post_handle_q931_message: Call 49 enters state 12 (Disconnect Indication). Hold state: Idle
q931.c:7151 q931_hangup: Hangup other cref:49
q931.c:6908 __q931_hangup: ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:5946 q931_release: Call 49 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 49/0x31) (Sent to originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=10, window is open V(A)=10 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: RELEASE (77)
> [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) ]
< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: RELEASE COMPLETE (90)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:8959 post_handle_q931_message: Call 49 enters state 0 (Null). Hold state: Idle
q931.c:7151 q931_hangup: Hangup other cref:49
q931.c:6908 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
Destroying call 0xb4fdc950, ourstate Null, peerstate Null, hold-state Idle
Звонок с HiPath
Код: Выделить всё
< Protocol Discriminator: Q.931 (8) len=85
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: SETUP (5)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Coding-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 a9 83 8c]
< 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: 12 Type: NET]
< [1c 2d 91 aa 06 80 01 00 82 01 00 8b 01 00 a1 1f 02 02 03 f9 06 04 2b 0c 09 00 a1 13 04 0e 50 52 4f 56 45 52 4b 41 20 31 32 33 34 35 02 01 01]
< Facility (len=47, codeset=0) [ 0x91, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x1F, 0x02, 0x02, 0x03, 0xF9, 0x06, 0x04, '+', 0x0C, 0x09, 0x00, 0xA1, 0x13, 0x04, 0x0E, 'PROVERKA 12345', 0x02, 0x01, 0x01 ]
< [6c 06 00 83 38 38 38 32]
< Calling Party Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
< Presentation: Presentation allowed, Network provided (3) '8882' ]
< [70 05 80 31 30 30 35]
< Called Party Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '1005' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
< [95]
< Locking Shift (len=01): Requested codeset 5
< [31 01 80]
!! < Unknown IE 49 (cs5, len = 3)
-- Making new call for cref 49
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel ID)
-- Processing IE 28 (cs0, Facility)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
-- Processing IE 49 (cs5, Unknown Information Element)
!! Unknown IE 49 (cs5)
-- 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:31 <1F>
Integer(2 0x02) <02> Len:2 <02>
<03 F9> - "~~"
OID(6 0x06) <06> Len:4 <04>
<2B 0C 09 00> - "+~~~"
Context Specific/C [1 0x01] <A1> Len:19 <13>
Octet String(4 0x04) <04> Len:14 <0E>
<50 52 4F 56 45 52 4B 41-20 31 32 33 34 35> - "PROVERKA 12345"
Integer(2 0x02) <02> Len:1 <01>
<01> - "~"
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) = 1017 0x03F9
operationValue OID(6 0x06) = 43.12.9.0
operationValue = ROSE_QSIG_CallingName
callingName Name
namePresentationAllowedExtended NameSet Context Specific/C [1 0x01]
nameData Octet String(4 0x04) =
<50 52 4F 56 45 52 4B 41-20 31 32 33 34 35> - "PROVERKA 12345"
characterSet Integer(2 0x02) = 1 0x0001
q931.c:8661 post_handle_q931_message: Call 49 enters state 6 (Call Present). Hold state: Idle
q931.c:5707 q931_call_proceeding: Call 49 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 49/0x31) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
TEI=0 Transmitting N(S)=8, window is open V(A)=8 K=7
> Protocol Discriminator: Q.931 (8) len=10
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: CALL PROCEEDING (2)
> [18 03 a9 83 8c]
> 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: 12 Type: NET]
q931.c:5739 q931_alerting: Call 49 enters state 7 (Call Received). Hold state: Idle
Adding facility ie contents to send in ALERTING message:
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:19 <13>
Integer(2 0x02) <02> Len:1 <01>
<03> - "~"
Integer(2 0x02) <02> Len:1 <01>
<01> - "~"
Context Specific [0 0x00] <80> Len:11 <0B>
<49 76 61 6E 6F 76 20 49-2E 49 2E> - "Ivanov I.I."
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) = 3 0x0003
operationValue Integer(2 0x02) = 1 0x0001
operationValue = ROSE_QSIG_CalledName
calledName Name
namePresentationAllowedSimple Context Specific [0 0x00] =
<49 76 61 6E 6F 76 20 49-2E 49 2E> - "Ivanov I.I."
> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=44
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: ALERTING (1)
TEI=0 Transmitting N(S)=9, window is open V(A)=8 K=7
> Protocol Discriminator: Q.931 (8) len=44
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: ALERTING (1)
> [1c 21 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 13 02 01 03 02 01 01 80 0b 49 76 61 6e 6f 76 20 49 2e 49 2e]
> Facility (len=35, codeset=0) [ 0x9F, 0xAA, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x13, 0x02, 0x01, 0x03, 0x02, 0x01, 0x01, 0x80, 0x0B, 'Ivanov I.I.' ]
> [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=9
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
-- Found active call: 0xb4fdc950 cref:49
q931.c:9099 post_handle_q931_message: Call 49 enters state 12 (Disconnect Indication). Hold state: Idle
q931.c:7151 q931_hangup: Hangup other cref:49
q931.c:6908 __q931_hangup: ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:5946 q931_release: Call 49 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 49/0x31) (Sent to originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=10, window is open V(A)=10 K=7
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent to originator)
> Message Type: RELEASE (77)
> [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) ]
< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 49/0x31) (Sent from originator)
< Message Type: RELEASE COMPLETE (90)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0xb4fdc950 on link 0xb4f51f1c TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:8959 post_handle_q931_message: Call 49 enters state 0 (Null). Hold state: Idle
q931.c:7151 q931_hangup: Hangup other cref:49
q931.c:6908 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
Destroying call 0xb4fdc950, ourstate Null, peerstate Null, hold-state Idle