What is the difference between Explicit and Implicit IntID?


#1

I try to connect my asterisk (TE110P Digium wildcard) with Panasonic KX-TDA100RU (PRI30).
Asterisk 1.2.6
zaptel 1.2.5
libpri 1.2.2

###zaptel.conf###
span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
loadzone=de
defaultzone=de

###zapata.conf###
trunkgroup => 1,16
spanmap => 1,1,1
context=panas
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
resetinterval=never
priindication = outofband
facilityenable = yes
signalling=pri_net
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
callerid=asreceived
channel => 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17-31

KX-TDA100 configured as GSIG-Slave
NetworkType - EUROISDN
Master clock card Slot01: PRI30
ISDN outgoing call type - En-bloc

I can make calls from KX-TDA100 to asterisk’s users, but i can’t inside out.
“pri debug span 1” shows:

FAILED CALL*
– Executing Dial(“SIP/10.10.10.10-0848e2f0”, “Zap/1/101”) in new stack
– Making new call for cr 32778
– Requested transfer capability: 0x10 - 3K1AUDIO

Protocol Discriminator: Q.931 (8) len=33
Call Ref: len= 2 (reference 10/0xA) (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)
Ext: 1 User information layer 1: A-Law (35)
[18 04 e1 81 83 81]
Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Preferred Dchan: 0
ChanSel: Reserved
Ext: 1 DS1 Identifier: 1
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 1 ]
[1e 02 80 83]
Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
[6c 05 00 81 32 32 32]
Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
Presentation: Presentation permitted, user number passed network screening (1) ‘222’ ]
[70 04 80 31 30 31]
Called Number (len= 6) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ‘101’ ]
– Called 1/101
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 10/0xA) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 03 81 e4 18]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Unknown (100), class = Protocol Error (6) ]
< Cause data 1: 18 (24)
– Processing IE 8 (cs0, Cause)
– Channel 1/1, span 1 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
– Hungup ‘Zap/1-1’
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel ‘SIP/10.10.10.10-0848e2f0’ status is ‘CHANUNAVAIL’
===============================================
PASSED CALL
< Protocol Discriminator: Q.931 (8) len=25
< Call Ref: len= 2 (reference 56/0x38) (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)
< 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 ]
< [6c 02 00 80]
< Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
< Presentation: Presentation permitted, user number not screened (0) ‘’ ]
< [70 04 80 32 32 32]
< Called Number (len= 6) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ‘222’ ]
– Making new call for cr 56
– Processing Q.931 Call Setup
– Processing IE 4 (cs0, Bearer Capability)
– Processing IE 24 (cs0, Channel Identification)
– Processing IE 108 (cs0, Calling Party Number)
– Processing IE 112 (cs0, Called Party Number)
Protocol Discriminator: Q.931 (8) len=11
Call Ref: len= 2 (reference 56/0x38) (Terminator)
Message type: CALL PROCEEDING (2)
[18 04 e9 81 83 81]
Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0
ChanSel: Reserved
Ext: 1 DS1 Identifier: 1
Ext: 1 Coding: 0 Number Specified Channel Type: 3
Ext: 1 Channel: 1 ]
– Accepting call from ‘’ to ‘222’ on channel 1/1, span 1
– Executing Dial(“Zap/1-1”, “SIP/222@10.10.10.10”) in new stack
– Called 222@10.10.10.10
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 56/0x38) (Originator)
< Message type: STATUS (125)
< [08 03 81 e4 18]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Unknown (100), class = Protocol Error (6) ]
< Cause data 1: 18 (24)
< [14 01 01]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1)
– Processing IE 8 (cs0, Cause)
– Processing IE 20 (cs0, Call State)
– SIP/10.10.10.10-b554 is ringing
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 56/0x38) (Terminator)
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) ]
– SIP/10.10.10.10-b554 answered Zap/1-1
Protocol Discriminator: Q.931 (8) len=15
Call Ref: len= 2 (reference 56/0x38) (Terminator)
Message type: CONNECT (7)
[18 04 e9 81 83 81]
Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive Dchan: 0
ChanSel: Reserved
Ext: 1 DS1 Identifier: 1
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) ]
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 56/0x38) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 56/0x38) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
< Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
– Processing IE 8 (cs0, Cause)
– Channel 1/1, span 1 got hangup request
== Spawn extension (panas, 222, 3) exited non-zero on 'Zap/1-1’
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
Protocol Discriminator: Q.931 (8) len=9
Call Ref: len= 2 (reference 56/0x38) (Terminator)
Message type: RELEASE (77)
[08 02 81 90]
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
– Hungup ‘Zap/1-1’
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 56/0x38) (Originator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
===============================================

as you can see there are difference in SETUP messages, asterisk sends additional items in Channel ID “IntID: Explicit” and "DS1 Identifier: 1"
and KX-TDA100 sends "IntID: Implicit"
It seems to me that KX-TDA100 don’t understand this item.
So the question is: what is the difference between Explicit and Implicit IntID? and how I can solve this problem?


#2

Check your zapata.conf
Make sure you don’t have anything configured in [trunkgroups]. That’s only needed if you want to share a d-channel amongst multiple pri’s.
For a single E1 connection, you should leave the [trunkgroup] section empty!

Gr.

K