Mike's PBX Cookbook

Authorization codes

Authorization codes (Authcode) allow a user to temporarily 'override' the access restrictions (NCOS, COS, and TGAR) assigned to a station (or trunk). Authcodes are manually added, though if you anticipate requiring a lot, they can also be auto-generated.

To restrict a station, unless an authcode entered:

First, create AUB and AUT blocks:

LD 88 - NEW or CHG - AUB.
ALEN is the number of digits in Authcode.
RANR is the RAN route number, use X if not required.

REQ new
TYPE aub
CUST 0
SPWD
ALEN 4
ACDR no
AUTHCOD_ALRM
RANR x
ACLE
BRST
RTRY
CLAS

Here, we manually add an authorization code of 8888 (must be 4 digit from above). It is assigned CLAS 0.

REQ new
TYPE aut
CUST 0
SPWD
CODE 8888
SARC no
CLAS 0
CODE

Next, edit CLAS 0 to give the desired NCOS and TGAR changes.

REQ chg
TYPE aub
CUST 0
SPWD
ACDR
AUTHCOD_ALRM
RANR
ACLE
BRST
RTRY
CLAS 0
COS ctd
TGAR 2
NCOS 5
CLAS

Finally, change the station to a restricted NCOS and TGAR, and to require an Authorisation code.

In Station Administration: LD 10/11, enter the allowed AUTH code(s) for this station.

REQ: chg
TYPE: 500
TN   19 0
ECHG yes
ITEM tgar 1
ITEM ncos 0
ITEM cls autr
ITEM maut
AUTH 1 8888
AUTH
ITEM

Thats it!

TN   019 0 00 00
TYPE 500
CDEN 4D
CUST 0
WRLS NO
DN   4130 0     MARP
AST  NO
IAPG 0
HUNT
TGAR 1
LDN  NO
NCOS 0
SGRP 0
RNPG 0
XLST
SCI  0
SFLT NO
CAC_MFC 0
CLS  CTD DTN FBD XFD WTA THFD FND HTD ONS
     LPR XRD CWD SWD MWD RMMD SMWD LPD XHD CCSD LND TVD
     CFTD SFD MRD C6D CNID CLBD AUTR
     ICDD CDMD LLCN EHTD MCTD
     GPUD DPUD CFXD ARHD OVDD AGTD CLTD LDTD ASCD
     MBXD CPFA CPTA UDI RCC HBTD DDGA NAMA MIND
     NRWD NRCD NROD CRD PRSD MCRD
     EXR0 SHL ABDD CFHD DNDY DNO3
     USRD BNRD RTDD RBDD RBHD FAXD PGND FTTC
AUTH 1 8888
     2
     3
     4
     5
     6
PLEV 02
AACS NO
MLWU_LANG 0
DATE 21 NOV 2002
Home » Meridian » Admin » Authcode