Nortel PRI to FreePBX

Trouble connecting Nortel to FreePBX,
I have a PRI physically connected to a Sangoma card on the FreePBX and it seems to be working at least. Problem occurs when trying to make a call in ether direction.

Here is PRI debug in both directions.

FreePBX to NORTEL
extensions
6100 to 713

localhostCLI>
PRI Span: 1 t203_expire
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=22, V(S)=22, V(R)=20
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=0
PRI Span: 1 > [ 02 01 01 29 ]
PRI Span: 1 > Supervisory frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 > N(R): 020 P/F: 1
PRI Span: 1 > 0 bytes of data
PRI Span: 1 – Starting T200 timer
PRI Span: 1
PRI Span: 1 < TEI: 0 State 8(Timer recovery)
PRI Span: 1 < V(A)=22, V(S)=22, V(R)=20
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
PRI Span: 1 < [ 02 01 01 2d ]
PRI Span: 1 < Supervisory frame:
PRI Span: 1 < SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 < N(R): 022 P/F: 1
PRI Span: 1 < 0 bytes of data
PRI Span: 1 – Got ACK for N(S)=22 to (but not including) N(S)=22
PRI Span: 1 – Stopping T200 timer
PRI Span: 1 – Starting T203 timer
PRI Span: 1 Done handling message for SAPI/TEI=0/0
== Spawn extension (from-internal, 713, 1) exited non-zero on ‘DAHDI/i1/-a’
PRI Span: 1 – Making new call for cref 32773
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=33
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 5/0x5) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Transmitting N(S)=22, window is open V(A)=22 K=7
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=22, V(S)=22, V(R)=20
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 02 01 2c 28 08 02 00 05 05 04 03 80 90 a3 18 03 a9 83 8d 28 04 36 31 30 30 6c 06 00 81 36 31 30 30 70 01 80 a1 ]
PRI Span: 1 > Informational frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > N(S): 022 0: 0
PRI Span: 1 > N(R): 020 P: 0
PRI Span: 1 > 33 bytes of data
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=33
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 5/0x5) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 > [04 03 80 90 a3]
PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> PRI Span: 1 > User information layer 1: A-Law (35) ##################################################
PRI Span: 1 > [18 03 a9 83 8d]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 13 Type: NET]
PRI Span: 1 > [28 04 36 31 30 30]
PRI Span: 1 > Display (len= 4) [ 6100 ]
PRI Span: 1 > [6c 06 00 81 36 31 30 30]
PRI Span: 1 > Calling Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
PRI Span: 1 > Presentation: Presentation permitted, user number passed network screening (1) ‘6100’ ]
PRI Span: 1 > [70 01 80]
PRI Span: 1 > Called Number (len= 3) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) ‘’ ]
PRI Span: 1 > [a1]
PRI Span: 1 > Sending Complete (len= 1)
PRI Span: 1 – Stopping T203 timer
PRI Span: 1 – Starting T200 timer
PRI Span: 1 q931.c:6036 q931_setup: Call 32773 enters state 1 (Call Initiated). Hold state: Idle
PRI Span: 1
PRI Span: 1 < TEI: 0 State 7(Multi-frame established)
PRI Span: 1 < V(A)=22, V(S)=23, V(R)=20
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
PRI Span: 1 < [ 00 01 28 2e 08 01 85 5a 08 02 81 c1 ]
PRI Span: 1 < Informational frame:
PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < N(S): 020 0: 0
PRI Span: 1 < N(R): 023 P: 0
PRI Span: 1 < 8 bytes of data
PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=8
PRI Span: 1 < TEI=0 Call Ref: len= 1 (reference 5/0x5) (Sent to originator)
PRI Span: 1 < Message Type: RELEASE COMPLETE (90)
PRI Span: 1 < [08 02 81 c1]
PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
PRI Span: 1 < Ext: 1 Cause: Bearer capability not implemented (65), class = Service or Option not Implemented (4) ]
PRI Span: 1 – Got ACK for N(S)=22 to (but not including) N(S)=23
PRI Span: 1 – ACKing N(S)=22, tx_queue head is N(S)=-1 (-1 is empty, -2 is not transmitted)
PRI Span: 1 – Stopping T200 timer
PRI Span: 1 – Starting T203 timer
PRI Span: 1 Received message for call 0x7f079401cda0 on link 0x17153d0 TEI/SAPI 0/0
PRI Span: 1 – Processing IE 8 (cs0, Cause)
PRI Span: 1 q931.c:8567 post_handle_q931_message: Call 32773 enters state 0 (Null). Hold state: Idle
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=23, V(S)=23, V(R)=21
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 00 01 01 2a ]
PRI Span: 1 > Supervisory frame:
PRI Span: 1 > SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 > N(R): 021 P/F: 0
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Done handling message for SAPI/TEI=0/0
Span 1: Processing event PRI_EVENT_HANGUP(6)
localhost
CLI>
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:32773
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Destroying call 0x7f079401cda0, ourstate Null, peerstate Null, hold-state Idle
== Everyone is busy/congested at this time (1:0/0/1)
== Spawn extension (macro-exten-vm, s-CHANUNAVAIL, 3) exited non-zero on ‘SIP/6100-00000014’ in macro ‘exten-vm’
== Spawn extension (ext-local, 713, 2) exited non-zero on ‘SIP/6100-00000014’
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/6100-00000014’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/6100-00000014’

Nortel to FreePBX

713 to 6100

PRI Span: 1
PRI Span: 1 < TEI: 0 State 7(Multi-frame established)
PRI Span: 1 < V(A)=23, V(S)=23, V(R)=21
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=0, N200=3, T203_id=8192
PRI Span: 1 < [ 00 01 2a 2e 08 01 1e 05 04 03 80 90 a2 18 04 e9 80 83 1e 6c 05 09 80 37 31 33 70 05 89 36 31 30 30 ]
PRI Span: 1 < Informational frame:
PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < N(S): 021 0: 0
PRI Span: 1 < N(R): 023 P: 0
PRI Span: 1 < 29 bytes of data
PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=29
PRI Span: 1 < TEI=0 Call Ref: len= 1 (reference 30/0x1E) (Sent from originator)
PRI Span: 1 < Message Type: SETUP (5)
PRI Span: 1 < [04 03 80 90 a2]
PRI Span: 1 < Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 < Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> PRI Span: 1 < User information layer 1: u-Law (34) ########################################################################
PRI Span: 1 < [18 04 e9 80 83 1e]
PRI Span: 1 < Channel ID (len= 6) [ Ext: 1 IntID: Explicit Other(PRI) Spare: 0 Exclusive Dchan: 0
PRI Span: 1 < ChanSel: As indicated in following octets
PRI Span: 1 < Ext: 1 DS1 Identifier: 0
PRI Span: 1 < Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 < Ext: 0 Channel: 30 Type: NET]
PRI Span: 1 < [6c 05 09 80 37 31 33]
PRI Span: 1 < Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI: Private Numbering Plan (9)
PRI Span: 1 < Presentation: Presentation permitted, user number not screened (0) ‘713’ ]
PRI Span: 1 < [70 05 89 36 31 30 30]
PRI Span: 1 < Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI: Private Numbering Plan (9) ‘6100’ ]
PRI Span: 1 – Got ACK for N(S)=23 to (but not including) N(S)=23
PRI Span: 1 – T200 requested to stop when not started
PRI Span: 1 T203 requested to start without stopping first
PRI Span: 1 – Starting T203 timer
PRI Span: 1 – Making new call for cref 30
PRI Span: 1 Received message for call 0x7f07880192d0 on link 0x17153d0 TEI/SAPI 0/0
PRI Span: 1 – Processing Q.931 Call Setup
PRI Span: 1 – Processing IE 4 (cs0, Bearer Capability)
PRI Span: 1 – Processing IE 24 (cs0, Channel Identification)
PRI Span: 1 – Processing IE 108 (cs0, Calling Party Number)
PRI Span: 1 – Processing IE 112 (cs0, Called Party Number)
PRI Span: 1 q931.c:8281 post_handle_q931_message: Call 30 enters state 6 (Call Present). Hold state: Idle
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=23, V(S)=23, V(R)=22
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 00 01 01 2c ]
PRI Span: 1 > Supervisory frame:
PRI Span: 1 > SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 > N(R): 022 P/F: 0
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Done handling message for SAPI/TEI=0/0
Span 1: Processing event PRI_EVENT_RING(5)
PRI Span: 1 q931.c:5477 q931_call_proceeding: Call 30 enters state 9 (Incoming Call Proceeding). Hold state: Idle
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=10
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: CALL PROCEEDING (2)
PRI Span: 1 TEI=0 Transmitting N(S)=23, window is open V(A)=23 K=7
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=23, V(S)=23, V(R)=22
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 02 01 2e 2c 08 02 80 1e 02 18 03 a9 83 9e ]
PRI Span: 1 > Informational frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > N(S): 023 0: 0
PRI Span: 1 > N(R): 022 P: 0
PRI Span: 1 > 10 bytes of data
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=10
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: CALL PROCEEDING (2)
PRI Span: 1 > [18 03 a9 83 9e]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 30 Type: NET]
PRI Span: 1 – Stopping T203 timer
PRI Span: 1 – Starting T200 timer
PRI Span: 1 q931.c:5658 q931_connect: Call 30 enters state 10 (Active). Hold state: Idle
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=14
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: CONNECT (7)
PRI Span: 1 TEI=0 Transmitting N(S)=24, window is open V(A)=23 K=7
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=23, V(S)=24, V(R)=22
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
PRI Span: 1 > [ 02 01 30 2c 08 02 80 1e 07 18 03 a9 83 9e 1e 02 81 82 ]
PRI Span: 1 > Informational frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > N(S): 024 0: 0
PRI Span: 1 > N(R): 022 P: 0
PRI Span: 1 > 14 bytes of data
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=14
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: CONNECT (7)
PRI Span: 1 > [18 03 a9 83 9e]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 30 Type: NET]
PRI Span: 1 > [1e 02 81 82]
PRI Span: 1 > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
PRI Span: 1 > Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
[2019-01-10 13:25:03] WARNING[4571][C-00000012]: chan_sip.c:22185 func_header_read: This function can only be used on SIP channels.
[2019-01-10 13:25:03] WARNING[4571][C-00000012]: Ext. s:3 @ from-digital: Friendly Scanner from
PRI Span: 1
PRI Span: 1 < TEI: 0 State 7(Multi-frame established)
PRI Span: 1 < V(A)=23, V(S)=25, V(R)=22
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
PRI Span: 1 < [ 00 01 2c 32 08 01 1e 4d 08 02 81 e4 ]
PRI Span: 1 < Informational frame:
PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < N(S): 022 0: 0
PRI Span: 1 < N(R): 025 P: 0
PRI Span: 1 < 8 bytes of data
PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=8
PRI Span: 1 < TEI=0 Call Ref: len= 1 (reference 30/0x1E) (Sent from originator)
PRI Span: 1 < Message Type: RELEASE (77)
PRI Span: 1 < [08 02 81 e4]
PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
PRI Span: 1 < Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (e.g. unknown message) (6) ]
PRI Span: 1 – Got ACK for N(S)=23 to (but not including) N(S)=25
PRI Span: 1 – ACKing N(S)=23, tx_queue head is N(S)=24 (-1 is empty, -2 is not transmitted)
PRI Span: 1 – ACKing N(S)=24, tx_queue head is N(S)=-1 (-1 is empty, -2 is not transmitted)
PRI Span: 1 – Stopping T200 timer
PRI Span: 1 – Starting T203 timer
PRI Span: 1 Received message for call 0x7f07880192d0 on link 0x17153d0 TEI/SAPI 0/0
PRI Span: 1 – Processing IE 8 (cs0, Cause)
PRI Span: 1 q931.c:8620 post_handle_q931_message: Call 30 enters state 0 (Null). Hold state: Idle
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=25, V(S)=25, V(R)=23
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 00 01 01 2e ]
PRI Span: 1 > Supervisory frame:
PRI Span: 1 > SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 > N(R): 023 P/F: 0
PRI Span: 1 > 0 bytes of data
PRI Span: 1 Done handling message for SAPI/TEI=0/0
Span 1: Processing event PRI_EVENT_HANGUP(6)
== Spawn extension (from-digital, s, 4) exited non-zero on ‘DAHDI/i1/713-b’
localhostCLI>
== Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘DAHDI/i1/713-b’ in macro ‘hangupcall’
== Spawn extension (from-digital, h, 1) exited non-zero on ‘DAHDI/i1/713-b’
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:30
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Release Request, hold-state Idle
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: RELEASE COMPLETE (90)
PRI Span: 1 TEI=0 Transmitting N(S)=25, window is open V(A)=25 K=7
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=25, V(S)=25, V(R)=23
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 > T200_id=0, N200=3, T203_id=8192
PRI Span: 1 > [ 02 01 32 2e 08 02 80 1e 5a 08 02 81 90 ]
PRI Span: 1 > Informational frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > N(S): 025 0: 0
PRI Span: 1 > N(R): 023 P: 0
PRI Span: 1 > 9 bytes of data
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: RELEASE COMPLETE (90)
PRI Span: 1 > [08 02 81 90]
PRI Span: 1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
PRI Span: 1 > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
PRI Span: 1 – Stopping T203 timer
PRI Span: 1 – Starting T200 timer
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:30
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Destroying call 0x7f07880192d0, ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1
PRI Span: 1 < TEI: 0 State 7(Multi-frame established)
PRI Span: 1 < V(A)=25, V(S)=26, V(R)=23
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
PRI Span: 1 < [ 00 01 2e 32 08 01 1e 4d 08 02 81 e4 ]
PRI Span: 1 < Informational frame:
PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < N(S): 023 0: 0
PRI Span: 1 < N(R): 025 P: 0
PRI Span: 1 < 8 bytes of data
PRI Span: 1 < Protocol Discriminator: Q.931 (8) len=8
PRI Span: 1 < TEI=0 Call Ref: len= 1 (reference 30/0x1E) (Sent from originator)
PRI Span: 1 < Message Type: RELEASE (77)
PRI Span: 1 < [08 02 81 e4]
PRI Span: 1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
PRI Span: 1 < Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (e.g. unknown message) (6) ]
PRI Span: 1 – Making new call for cref 30
PRI Span: 1 Received message for call 0x7f078802ca20 on link 0x17153d0 TEI/SAPI 0/0
PRI Span: 1 – Processing IE 8 (cs0, Cause)
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: RELEASE COMPLETE (90)
PRI Span: 1 TEI=0 Transmitting N(S)=26, window is open V(A)=25 K=7
PRI Span: 1
PRI Span: 1 > TEI: 0 State 7(Multi-frame established)
PRI Span: 1 > V(A)=25, V(S)=26, V(R)=24
PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=1
PRI Span: 1 > T200_id=8192, N200=3, T203_id=0
PRI Span: 1 > [ 02 01 34 30 08 02 80 1e 5a 08 02 81 d1 ]
PRI Span: 1 > Informational frame:
PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 > TEI: 000 EA: 1
PRI Span: 1 > N(S): 026 0: 0
PRI Span: 1 > N(R): 024 P: 0
PRI Span: 1 > 9 bytes of data
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=9
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 30/0x1E) (Sent to originator)
PRI Span: 1 > Message Type: RELEASE COMPLETE (90)
PRI Span: 1 > [08 02 81 d1]
PRI Span: 1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
PRI Span: 1 > Ext: 1 Cause: Invalid call reference value (81), class = Invalid message (e.g. parameter out of range) (5) ]
PRI Span: 1 q931.c:6837 q931_hangup: Hangup other cref:30
PRI Span: 1 q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Destroying call 0x7f078802ca20, ourstate Null, peerstate Null, hold-state Idle
PRI Span: 1 Done handling message for SAPI/TEI=0/0
localhost
CLI>
localhost*CLI>
PRI Span: 1
PRI Span: 1 < TEI: 0 State 7(Multi-frame established)
PRI Span: 1 < V(A)=25, V(S)=27, V(R)=24
PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 1 < T200_id=8192, N200=3, T203_id=0
PRI Span: 1 < [ 02 01 01 36 ]
PRI Span: 1 < Supervisory frame:
PRI Span: 1 < SAPI: 00 C/R: 1 EA: 0
PRI Span: 1 < TEI: 000 EA: 1
PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 1 < N(R): 027 P/F: 0
PRI Span: 1 < 0 bytes of data
PRI Span: 1 – Got ACK for N(S)=25 to (but not including) N(S)=27
PRI Span: 1 – ACKing N(S)=25, tx_queue head is N(S)=26 (-1 is empty, -2 is not transmitted)
PRI Span: 1 – ACKing N(S)=26, tx_queue head is N(S)=-1 (-1 is empty, -2 is not transmitted)
PRI Span: 1 – Stopping T200 timer
PRI Span: 1 – Starting T203 timer
PRI Span: 1 Done handling message for SAPI/TEI=0/0

One thing I noticed is bearer capability on incomming calls is U-LAW and As these are E1 lines should be A-LAW, Is this something from the nortel side or the FreePBX side? I have emboldened the lines in the quote.

Thanks very much to anyone who can help.

I don’t have a lot of experience with PRI but this seems to be a case of mismatch configuration.

You should make sure that the span is configured exactly the same on both sides.

Thanks for that, I am going to go through the settings again and try a config I found online.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.