Mike's PBX Cookbook

Calling Line Identification (CLID)

Sending the callers extension number to the dialed party over the ISDN D-channel is optional, and can be allowed (or not) per DN. DN's are associated with a CLID entry, which defines the CLID data. To create CLID entries, edit NET_DATA in LD 15:

Example:

LD 15

REG: chg
TYPE: net_data
CLID yes 
- SIZE
- ENTRY #
-- DIDN       ← send the DN? Yes / No

ENTRY # is the CLID entry to be configured. CLID entries must be between 0 and and the value entered at the SIZE prompt - 1 (default 255). Precede entry or entries with X to delete. ENTRY is repeated until <cr> is entered.

ENTRY 0 is the default assignment to a DN in LD 10 or 11, edit this as required:

- KEY # SCR XXXX 0    ← last number is the entry number

Printing CLID:

Use LD 21 to print the CLID entries - REQ: PRT, TYPE: CLID.
In the entry examples below, ENTRY 0 will not pass the extension number in CLID and ENTRY 1 will pass the extension in CLID.

LD 21

REQ: prt
TYPE: clid
CUST 0
SIZE 256
RNGE

ENTRY 0
  HNTN        ← Area Code
  HLCL        ← Local prefix, or listed directory number
  DIDN NO     ← NO, don't append the DN to the HNTN/HLCL
  HLOC
  LSC
  CLASS_FMT DN

ENTRY 1
  HNTN
  HLCL
  DIDN YES    ← YES, append the DN to the HNTN/HLCL
  HLOC
  LSC
  CLASS_FMT DN

Notes:

HLCL- local prefix (Home LoCaL), or listed directory number (1-12 digits)
- precede number with X to remove
DIDN YES- precede the DN of the active DN key with the digits in HLCL
DIDN NO- do not append the DN of the active DN key, HLCL only.

The carrier company may send thier HLCL, and in the absence of further digits, HLCL combined with the base DID number.

WARNING: Some carriers will block calls with incomplete/incorrect Caller ID to prevent ID spoofing.

D Channel Monitoring:

Monitoring D Channel traffic with LD 96 can be a very useful diagnostic tool for checking incoming/outgoing digit patterns for DID calls. See also D-Channel Monitoring for more details.

Use the following commands in LD 96:

ENL MSGI x- enable monitoring of incoming messages
ENL MSGO x- enable monitoring of outgoing messages
DIS MSGI x- disable monitoring of incoming messages
DIS MSGO x- disable monitoring of outgoing messages
STAT MON x- display the monitoring status of one or all D-channels.

Example:

>ld 96 
DCH000 
.enl msgi 5 
.enl msgo 5
.
DCH 5 UIPE_OMSG CC_SETUP_REQ REF 0000002B CH 6 28 TOD 11:37:58 
PROGRESS: ORIGINATING END IS NOT ISDN 
CALLING #:3699 NUM PLAN: E164 
CALLED #:06975353888 NUM PLAN: E164 

Notes: