I have this in the PRI section of the configuration
interface pri 1
description PRI to PBX
role network b-channel-restarts enable
isdn name-delivery setup
connect t1 0/3 tdm-group 1
digits-transferred 4
no shutdown
debug isdn l2-formatted shows the 4 digits 5505, however the NEC dsx80 PBX does not see the 4 digits as the DID mapping in the NEC does not follow the 4 digits and ring the correct extension.
Is there a way to see what the PRI is really delivering to the NEC as the NEC does not have any logs nor debugging?
Example call with debug:
20:41:17.352 ISDN.L2_FMT PRI 1 ==============================================
20:41:17.352 ISDN.L2_FMT PRI 1 T Sapi:00 C/R:C Tei:00 INFO Ns:23 Nr:23 P:0
20:41:17.352 ISDN.L2_FMT PRI 1 Prot:08 CRL:2 CRV:0001
20:41:17.352 ISDN.L2_FMT PRI 1 M - 05 SETUP
20:41:17.352 ISDN.L2_FMT PRI 1 IE - 04 BEARER CAPABILITY Len=3
20:41:17.352 ISDN.L2_FMT PRI 1 80 Xfer Cap.:SPEECH
20:41:17.352 ISDN.L2_FMT PRI 1 90 Xfer Rate:64k
20:41:17.352 ISDN.L2_FMT PRI 1 A2 Layer 1:G.711 U-Law
20:41:17.353 ISDN.L2_FMT PRI 1 IE - 18 CHANNEL ID Len=3
20:41:17.353 ISDN.L2_FMT PRI 1 A1 Primary Rate
20:41:17.353 ISDN.L2_FMT PRI 1 Intfc ID:IMPLICIT
20:41:17.353 ISDN.L2_FMT PRI 1 Pref/Excl:PREFERRED
20:41:17.353 ISDN.L2_FMT PRI 1 D-Chan Indicated:NO
20:41:17.353 ISDN.L2_FMT PRI 1 Chan. Sel:FOLLOWS
20:41:17.353 ISDN.L2_FMT PRI 1 83 Numb/Map:NUMBER
20:41:17.353 ISDN.L2_FMT PRI 1 81 Channel:1
20:41:17.353 ISDN.L2_FMT PRI 1 IE - 1C FACILITY Len=29
20:41:17.353 ISDN.L2_FMT PRI 1 Calling Name: BRASHEARS CHRIS
20:41:17.354 ISDN.L2_FMT PRI 1 IE - 6C CALLING PARTY # Len=12
20:41:17.354 ISDN.L2_FMT PRI 1 21 Numb. Type:NATIONAL
20:41:17.354 ISDN.L2_FMT PRI 1 Numb. Plan:E.164
20:41:17.354 ISDN.L2_FMT PRI 1 80 Presentation:ALLOWED
20:41:17.354 ISDN.L2_FMT PRI 1 Screening:USER PROVIDED
20:41:17.354 ISDN.L2_FMT PRI 1 Ph.# 8053400205
20:41:17.354 ISDN.L2_FMT PRI 1 IE - 70 CALLED PARTY # Len=5
20:41:17.354 ISDN.L2_FMT PRI 1 80 Numb. Type:UNKNOWN
20:41:17.354 ISDN.L2_FMT PRI 1 Numb. Plan:UNKNOWN
20:41:17.355 ISDN.L2_FMT PRI 1 Ph.# 5505
The PBX may be upset with the ISDN numbering plan and type being unknown. Try adding this to the configuration:
isdn-number-template 1 prefix "" plan 1 subscriber pattern XXXX
You may have to try a variant thereof but this should work. L2-formatted should now show:
Numb. Type:SUBSCRIBER
Numb. Plan:E.164
It's also possible that the PBX is expecting a number of digits other than 4.