Mike's PBX Cookbook

Change an Access Code

A route access code (ACOD) selects a trunk for an outgoing call. Different trunk types, or routes, are selected by a different code - eg, 9 or 7. The route access code is stored, along with many other settings such as the route trunk members, in the Route Data Block (RDB). The RDB can be modified with  LD 16, but must be printed in LD 21. It is always a good idea to print data before you change it.

Additional information can be found in:
Software Input Output Guide X11 Administration - Book 2 of 2. (LD 21)
Software Input Output Guide X11 Administration - Book 1 of 2. (LD 16)

The following printouts are examples used to demonstrate the proceedure.

Trunk Member data

You can print all of the Routes and Trunk Member data with LD 21 - REQ: LTM. This helps if you only know which TN a trunk is connected to.

>ld 21
PT1000

REQ: ltm
CUST 0
ROUT 1

TYPE TLS
TKTP COT
ROUT 1
TN  004 0 00 00 MBER  1
TN  004 1 00 00 MBER  2
TN  008 0 00 00 MBER  3
TN  008 0 01 00 MBER  4
TN  004 0 00 01 MBER  5

REQ:               Hit enter to repeat the last command, in this case LTM
REQ LTM
CUST 0
ROUT 2

TYPE TLS
TKTP COT
ROUT 2
TN  008 0 00 02 MBER  1
TN  008 0 01 02 MBER  2
TN  004 0 00 03 MBER  3
TN  004 1 00 03 MBER  4
TN  008 0 00 03 MBER  5

REQ:               Hit enter to repeat the last command, in this case LTM
REQ LTM
CUST 0
ROUT 3

TYPE TLS
TKTP TIE
ROUT 3
TN  004 0 02 00 MBER  1

REQ:

 

Route Data Block

Print the Route Data Block for the route you want to change in LD 21 - REQ: RDB, here for route 3. You will notice in the example below, the current ACOD (Route Access Code) is 7. Remember, Trunk Group Restrictions (TGAR/TARG) can prevent a station from accessing the ACOD.


REQ: prt
TYPE: rdb
CUST 0
ROUT 3

TYPE RDB
CUST 00
ROUT 3
TKTP TIE
ESN  NO
CNVT NO
SAT  NO
RCLS EXT
DTRK NO
PTYP ATT
AUTO NO
DNIS NO
ICOG IAO
SRCH LIN
TRMB YES
STEP
ACOD 7             This is the current access code, in this case 7
TARG
BILN NO
OABS
INST
ANTK
SIGO STD
STYP SDAT
MFC  NO
TIMR ICF 512       Trunk Timers, set for different territories
     OGF 512
     EOD 13952
     DSI 34944
     NRD 10112
     DDL 70
     ODT 4096      
     RGV 640       Ring Validation timer: 128-(640)-1920
     GTO 896
     GTI 896
     SFB 3
    IENB 5
     TFD 0
SST  5 0
DTD  NO
SCDT NO
2 DT NO
NEDC ORG
FEDC ORG
CPDC NO
DLTN NO
HOLD 02 02 40
SEIZ 02 02
SVFL 02 02
DRNG NO
CDR  NO
NATL YES
SSL
CFWR NO
IDOP NO
MUS  NO
PANS YES
MANO NO
EQAR NO
OHQ  NO
OHQT 00
CBQ  NO


PAGE 002

AUTH NO
TDET NO
TTBL 0
OHTD NO
PLEV 2
OPR  NO
ALRM NO
ART  0
PECL NO
DCTI 0
SGRP 0
****

 

Change the ACOD

We then can change the access code (ACOD) to 8 for route 3 (in this example) in LD 16 - hitting enter at all the prompts we don't want to change.

>ld 16
RDB000

MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752
REQ  chg
TYPE rdb
CUST 0
ROUT 3
TKTP               Press enter at all the prompts we don't want to change
ESN
CNVT
SAT
RCLS
DTRK NO
PTYP
AUTO
DNIS
IANI
ICOG
SRCH
TRMB
STEP
ACOD 8             Enter the new access code, in this case 8
TARG
:                  Press Enter at each prompt, until finished
:
DCTI

MEM AVAIL: (U/P): 1094214    USED: 265657    TOT: 1359871
DISK RECS AVAIL: 2752
REQ ****           Exit the load with four *'s
Home » Meridian » Install » Mer Acod