[asterisk-users] asterisk / NEC2400 / PRI

Anthony Geoffron anthony.geoffron at gmail.com
Wed Jan 13 17:48:44 CST 2010


Hello List

I'm trying to figure out what is wrong between my asterisk and my NEC 2400
pbx
We have been trying to link them with a spare PA-24DTG
from the NEC, I'm able to call an extension on the Asterisk, however the
extension rings, and then immediatly hangs up
I traced it back to the debug of the PRI on the Asterisk...

I would appreciate if anyone could pin point what is wrong
The error code: Cause: Mandatory information element is missing (96),
does not tell me what is missing, so any expert outthere who could give me
some direction would be extremely helpfull.

dadhichannel.conf
context=from-internal
switchtype = national
signalling = pri_net
channel => 1-23
context = default
group = 63

system.conff
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24
echocanceller=mg2,1-23

Thanks

*Trace:*
Enabled debugging on span 1
< Protocol Discriminator: Q.931 (8)  len=27
< Call Ref: len= 2 (reference 99/0x63) (Originator)
< Message type: SETUP (5)
< [04 03 80 90 a2]
< Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
<                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
<                                User information layer 1: u-Law (34)
< [18 04 e9 80 83 01]
< Channel ID (len= 6) [ Ext: 1  IntID: Explicit  PRI  Spare: 0  Exclusive
 Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  DS1 Identifier: 0
<                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
<                       Ext: 0  Channel: 1 ]
< [1e 02 80 81]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0:
0  Location: User (0)
<                               Ext: 1  Progress Description: Call is not
end-to-end ISDN; further call progress information may be available inband.
(1) ]
< [70 05 a1 35 30 30 30]
< Called Number (len= 7) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '5000' ]
-- Making new call for cr 99
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 112 (cs0, Called Party Number)
q931.c:3551 q931_receive: call 99 on channel 1 enters state 6 (Call Present)
q931.c:2816 q931_call_proceeding: call 99 on channel 1 enters state 9
(Incoming Call Proceeding)
> Protocol Discriminator: Q.931 (8)  len=10
> Call Ref: len= 2 (reference 99/0x63) (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: As indicated in following octets
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 1 ]
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 99/0x63) (Originator)
< Message type: STATUS (125)
< [08 03 81 e4 18]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
 Location: Private network serving the local user (1)
<                  Ext: 1  Cause: Invalid information element contents
(100), class = Protocol Error (e.g. unknown message) (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)
q931.c:2844 q931_alerting: call 99 on channel 1 enters state 7 (Call
Received)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 99/0x63) (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) ]
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 99/0x63) (Originator)
< Message type: RELEASE (77)
< [08 03 81 e0 18]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
 Location: Private network serving the local user (1)
<                  Ext: 1  Cause: Mandatory information element is missing
(96), class = Protocol Error (e.g. unknown message) (6) ]
<              Cause data 1: 18 (24)
-- Processing IE 8 (cs0, Cause)
q931.c:3801 q931_receive: call 99 on channel 1 enters state 0 (Null)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release
Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 99/0x63) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 e0]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0
 Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Mandatory information element is missing
(96), class = Protocol Error (e.g. unknown message) (6) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100113/2c552316/attachment.htm 


More information about the asterisk-users mailing list