[asterisk-dev] incoming diverted number
Roy Sigurd Karlsbakk
roy at karlsbakk.net
Mon Aug 28 09:03:49 MST 2006
hi all
if I divert my cell phone to a number on a PRI on my asterisk box,
the PRI SETUP contains some data that asterisk/libpri seems unable to
parse. Can someone please point me to somewhere to help me understand
what's in there? it'd be great to see that.....
thanks
roy
PRI DEBUG
-------------------
< Call Ref: len= 2 (reference 5316/0x14C4) (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)
< Ext: 1 User information layer 1: A-
Law (35)
< [18 03 a1 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
Preferred Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified
Channel Type: 3
< Ext: 1 Channel: 1 ]
< [1c 15 91 a1 12 02 01 ac 02 01 0f 30 0a 02 01 01 0a 01 01 a1 02 81 00]
< Facility (len=23, codeset=0) [ 0x91, 0xa1, 0x12, 0x02, 0x01, 0xac,
0x02, 0x01, 0x0f, '0', 0x0a, 0x02, 0x01, 0x01, 0x0a, 0x01, 0x01,
0xa1, 0x02, 0x81, 0x00 ]
< [6c 0a 21 83 39 38 30 31 33 33 35 36]
< Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation allowed of
network provided number (3) '98013356' ]
< [70 09 a1 32 31 39 37 33 35 39 37]
< Called Number (len=11) [ Ext: 1 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '21973597' ]
< [a1]
< Sending Complete (len= 1)
-- Making new call for cr 5316
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 28 (cs0, Facility)
Handle Q.932 ROSE Invoke component
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 161 (cs0, Sending Complete)
> Protocol Discriminator: Q.931 (8) len=10
> Call Ref: len= 2 (reference 5316/0x14C4) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified
Channel Type: 3
> Ext: 1 Channel: 1 ]
-- Accepting call from '98013356' to '21973597' on channel 0/1,
span 2
-- Executing Answer("Zap/32-1", "") in new stack
> Protocol Discriminator: Q.931 (8) len=14
> Call Ref: len= 2 (reference 5316/0x14C4) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified
Channel Type: 3
> Ext: 1 Channel: 1 ]
> [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) ]
-- Executing Echo("Zap/32-1", "") in new stack
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 5316/0x14C4) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 5316/0x14C4) (Originator)
< Message type: DISCONNECT (69)
< [08 02 82 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0
Location: Public network serving the local user (2)
< Ext: 1 Cause: Unknown (16), class = Normal Event
(1) ]
-- Processing IE 8 (cs0, Cause)
-- Channel 0/1, span 2 got hangup request
== Spawn extension (zap_start, 21973597, 2) exited non-zero on
'Zap/32-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect
Indication, peerstate Disconnect Request
--
Roy Sigurd Karlsbakk
roy at karlsbakk.net
(+47) 98013356
---
In space, loud sounds, like explosions, are even louder because there
is no air to get in the way.
More information about the asterisk-dev
mailing list