Mike's PBX Cookbook

Call Detail Recording (CDR) Setup

Programming steps:

1. Define Input/Output port(s) to be used with the system wide options: LD 17

2. Assign port(s) to appropriate customer(s) and configure customer: LD 15

3. Enable CDR for Trunk Route(s), and configure options: LD 16

4. Configure all other related items:

5. Set Serial Data Interface (SDI) baud rate: Card Switches.

Test the SDI:

Using overlay LD 37, it is possible to test the serial connection and settings. For example:

TTY x - where x is a TTY defined in LD 17
Response is:
ABCDEFGHIJKLMNOPQRSTUVWXYZ
01234567890"#$%*!&()<>-.:,.? READY FOR INPUT

Anything entered on the keyboard will be echoed until END is input.

Other LD 37 commands are:

Programming Notes:

LD 17

REQ: CHG
TYPE: ADAN
:
ADAN NEW/CHG TTY x
CTYP MGC
IPMG l s
DNUM x
PORT x
DES CDR
BPS 1200
BITL 8
STOP 1
PARY NONE
FLOW NO
USER CTY
System Configuration - Print in LD 22

Action device and number


For CTYP MGC, loop/shelf of the card with the TTY port

Device and port number, for MGC's, DNUM should match the TTY number

Designator, used to identify the link

BPS = Bit rate, BITL = Bit length (7/8), STOP = stop bit

PARY = Parity, FLOW = flow control

USER = CTY is for 'Call Detail Recording' CDR Teletype port

LD 17

REQ: CHG
TYPE: PARM (NO) YES
:
FCDR (OLD)  NEW
PCDR (NO) YES
System Configuration - Print in LD 22

Carriage Return or type NO if interface parameters are not to be changed - default used.

Format for CDR: (Old) or New
Priority for CDR, not call processing

LD 15

REQ: CHG
TYPE: CDR or CDB
CUST: 0-99
:
CDR (NO) YES
AXID (NO) YES
PORT 0-15
Customer Data - Print in LD 21
To change existing port, old must be removed first (OUT) then recreated.
Call Detail Recording - Since release 22, LD 15 includes 24 gate openers at the type prompt.

Modify CDR options for the specified customer.
Auxiliary ID (TN) output whenever a multiple appearance DN is used.
Assign CDR port created in LD 17 to this customer.
More than one port can receive CDR for each customer.
To remove a CDR port, change CDR to NO, then re-enter LD15, change the CDR back to YES, and enter the desired ports.

LD 16

REQ: CHG
TYPE: RDB
ROUTE: #
CDR (NO) YES
INC (NO) YES
:
OAL (NO) YES
OTL (NO) YES
:
OAN (NO)
          YES
OPD (YES)
          NO
:
NDP (default used)
or INC 0-32
or EXC 0-32
Trunk routes - Print in LD 21


CDR output for the specified route
CDR records generated on incoming calls

CDR output for all outgoing calls
CDR output for outgoing toll calls - prompted if OAL=YES

CDR output for all outgoing calls
CDR output for answered outgoing calls with answer supv. only
Outpulsed digits output in CDR
Dialed digits output in CDR

Number of digits to print
Output the first 0-32 digits
Supress the last 0-32 digits
LD 10
:
CLS (CDMD) CDMA

    (ICDD) ICDA
Analog Sets - Print in LD 20
Call Detail Monitoring Denied/Allowed. If allowed, a D record is output regardless whether CDR is output for a Route.
Internal Call Detail Recording (denied).
LD 11
:
CLS (CDMD) CDMA

    (ICDD) ICDA
Digital Sets (also for LD 27 if there is ISDN)
Call Detail Monitoring Denied/Allowed. If allowed, a D record is output regardless whether CDR is output for a Route.
Internal Call Detail Recording (denied).
LD 12
:
ICDR (ICDD) ICDA
Attendant Consoles
Internal Call Detail Recording (denied)
LD 14
:
CLS (PIP)
     PSP
     BST
Trunks - Print in LD 20
Polarity Insensitive Pack (QPC 330 and 331 cards)
Polarity Sensitive Pack (QPC 218, 219, and 295 cards)
Battery supervised (SIGL=LOP required)