[Asterisk-Dev] wcte11xp on 64bit system
Carlos Hernandez
carlosh at linuxservices.co.nz
Mon May 30 03:26:01 MST 2005
I downgraded to a 2.4 (x86) kernel, and installed A at H on it.
Right now, I have CentOS latest stable, and cvs-head of asterisk /
zaptel / libpri
THANKYOU to the developer who turned on the pri show debug option
in CLI on cvs
Thanks to that, I could capture the following three blocks (only
copy-pasted for channel 1 of reasy reading)
--
block 1:
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Disconnect Indication, peerstate Disconnect Request
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=9
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 66/0x42) (Terminator)
[Span 0 D-Channel 0]> Message type: RELEASE (77)
> [08 02 81 90]
[Span 0 D-Channel 0]> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU)
standard (0) 0: 0 Location: Private network serving the local user (1)
[Span 0 D-Channel 0]> Ext: 1 Cause: Normal Clearing
(16), class = Normal Event (1) ]
-- Hungup 'Zap/1-1'
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=5
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 66/0x42) (Originator)
[Span 0 D-Channel 0]< Message type: RELEASE COMPLETE (90)
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Null, peerstate Null
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Destroying the call, ourstate
Null, peerstate Null
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=13
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 0/0x0) (Originator)
[Span 0 D-Channel 0]> Message type: RESTART (70)
> [18 03 a9 83 81]
[Span 0 D-Channel 0]> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]> ChanSel: Reserved
[Span 0 D-Channel 0]> Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]> Ext: 1 Channel: 1 ]
> [79 01 80]
[Span 0 D-Channel 0]> Restart Indentifier (len= 3) [ Ext: 1 Spare: 0
Resetting Indicated Channel (0) ]
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=13
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 0/0x0) (Terminator)
[Span 0 D-Channel 0]< Message type: RESTART ACKNOWLEDGE (78)
< [18 03 a9 83 81]
[Span 0 D-Channel 0]< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]< ChanSel: Reserved
[Span 0 D-Channel 0]< Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]< Ext: 1 Channel: 1 ]
block 2
== Primary D-Channel on span 1 up
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=8
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 0/0x0) (Originator)
[Span 0 D-Channel 0]< Message type: RESTART (70)
< [79 01 87]
[Span 0 D-Channel 0]< Restart Indentifier (len= 3) [ Ext: 1 Spare: 0
Resetting All DS1 Facilities (7) ]
[Span 0 D-Channel 0]-- Processing Q.931 Restart
[Span 0 D-Channel 0]-- Processing IE 121 (cs0, Restart Indicator)
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=8
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 0/0x0) (Terminator)
[Span 0 D-Channel 0]> Message type: RESTART ACKNOWLEDGE (78)
> [79 01 87]
[Span 0 D-Channel 0]> Restart Indentifier (len= 3) [ Ext: 1 Spare: 0
Resetting All DS1 Facilities (7) ]
== Restart on requested on entire span 1
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=13
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 0/0x0) (Originator)
[Span 0 D-Channel 0]> Message type: RESTART (70)
> [18 03 a9 83 81]
[Span 0 D-Channel 0]> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]> ChanSel: Reserved
[Span 0 D-Channel 0]> Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]> Ext: 1 Channel: 1 ]
> [79 01 80]
[Span 0 D-Channel 0]> Restart Indentifier (len= 3) [ Ext: 1 Spare: 0
Resetting Indicated Channel (0) ]
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=13
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 0/0x0) (Terminator)
[Span 0 D-Channel 0]< Message type: RESTART ACKNOWLEDGE (78)
< [18 03 a9 83 81]
[Span 0 D-Channel 0]< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]< ChanSel: Reserved
[Span 0 D-Channel 0]< Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]< Ext: 1 Channel: 1 ]
< [79 01 80]
And a succesfull phone call on channel 1:
[Span 0 D-Channel 0]-- Making new call for cr 32774
-- Requested transfer capability: 0x00 - SPEECH
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=39
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 6/0x6) (Originator)
[Span 0 D-Channel 0]> Message type: SETUP (5)
> [04 03 80 90 a3]
[Span 0 D-Channel 0]> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0
Info transfer capability: Speech (0)
[Span 0 D-Channel 0]> Ext: 1 Trans
mode/rate: 64kbps, circuit-mode (16)
[Span 0 D-Channel 0]> Ext: 1 User
information layer 1: A-Law (35)
> [18 03 a9 83 81]
[Span 0 D-Channel 0]> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]> ChanSel: Reserved
[Span 0 D-Channel 0]> Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]> Ext: 1 Channel: 1 ]
> [6c 0a 21 81 39 34 34 32 37 33 30 30]
[Span 0 D-Channel 0]> Calling Number (len=12) [ Ext: 0 TON: National
Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Span 0 D-Channel 0]> Presentation:
Presentation permitted, user number passed network screening (1)
'94427300' ]
> [70 09 a1 39 39 37 39 35 34 37 36]
[Span 0 D-Channel 0]> Called Number (len=11) [ Ext: 1 TON: National
Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
'99795476' ]
> [a1]sk1*CLI>
[Span 0 D-Channel 0]> Sending Complete (len= 1)
-- Called g0/99795476
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=10
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 6/0x6) (Terminator)
[Span 0 D-Channel 0]< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
[Span 0 D-Channel 0]< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI
Spare: 0, Exclusive Dchan: 0
[Span 0 D-Channel 0]< ChanSel: Reserved
[Span 0 D-Channel 0]< Ext: 1 Coding: 0 Number
Specified Channel Type: 3
[Span 0 D-Channel 0]< Ext: 1 Channel: 1 ]
[Span 0 D-Channel 0]-- Processing IE 24 (cs0, Channel Identification)
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=5
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 6/0x6) (Terminator)
[Span 0 D-Channel 0]< Message type: ALERTING (1)
-- Zap/1-1 is ringing
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=12
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 6/0x6) (Terminator)
[Span 0 D-Channel 0]< Message type: CONNECT (7)
< [29 05 05 05 1e 16 10]
[Span 0 D-Channel 0]< Time Date (len= 7) [ [Span 0 D-Channel 0]05[Span 0
D-Channel 0]-05[Span 0 D-Channel 0]-30[Span 0 D-Channel 0] 22[Span 0
D-Channel 0]:16[Span 0 D-Channel 0] ]
[Span 0 D-Channel 0]-- Processing IE 41 (cs0, Date/Time)
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=5
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 6/0x6) (Originator)
[Span 0 D-Channel 0]> Message type: CONNECT ACKNOWLEDGE (15)
-- Zap/1-1 answered SIP/300-13a0
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Active, peerstate Connect Request
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=9
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 6/0x6) (Originator)
[Span 0 D-Channel 0]> Message type: DISCONNECT (69)
> [08 02 81 90]
[Span 0 D-Channel 0]> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU)
standard (0) 0: 0 Location: Private network serving the local user (1)
[Span 0 D-Channel 0]> Ext: 1 Cause: Normal Clearing
(16), class = Normal Event (1) ]
-- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 17) exited non-zero on
'SIP/300-13a0' in macro 'dialout-trunk'
== Spawn extension (from-internal, 9795476, 1) exited non-zero on
'SIP/300-13a0'
-- Executing Macro("SIP/300-13a0", "hangupcall") in new stack
-- Executing ResetCDR("SIP/300-13a0", "w") in new stack
-- Executing NoCDR("SIP/300-13a0", "") in new stack
-- Executing Wait("SIP/300-13a0", "5") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on
'SIP/300-13a0' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/300-13a0'
[Span 0 D-Channel 0]< Protocol Discriminator: Q.931 (8) len=5
[Span 0 D-Channel 0]< Call Ref: len= 2 (reference 6/0x6) (Terminator)
[Span 0 D-Channel 0]< Message type: RELEASE (77)
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Null, peerstate Release Request
[Span 0 D-Channel 0]> Protocol Discriminator: Q.931 (8) len=9
[Span 0 D-Channel 0]> Call Ref: len= 2 (reference 6/0x6) (Originator)
[Span 0 D-Channel 0]> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
[Span 0 D-Channel 0]> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU)
standard (0) 0: 0 Location: Private network serving the local user (1)
[Span 0 D-Channel 0]> Ext: 1 Cause: Normal Clearing
(16), class = Normal Event (1) ]
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate
Null, peerstate Null
[Span 0 D-Channel 0]NEW_HANGUP DEBUG: Destroying the call, ourstate
Null, peerstate Null
More information about the asterisk-dev
mailing list