Mike's PBX Cookbook

The Special Number Data Block

Special Numbers, SPN's:

The numbers dialable by your PBX after the Access Code (AC1 or AC2) - not matching the North American NPA/NXX format - are stored in the Special Number (SPN) Translation data block. This data block is printed or edited in LD 90, FEATure = NET, where network translation tables are generated and administered.

PromptResponseDescription
REQCHG, END, NEW, OUT, PRTprint, add, or change data block
FEATNETfeature = network translation tables
TRANAC1, AC2, SUMtranslator, usually 'AC1', or SUM to print summary
TYPESPNspecial number data block

Logon, enter LD 90, and print the SPN data block. If a dial prefix is not in this list, it cannot be dialed by your PBX.
Make any necessary changes to the list using the CHG, OUT, or NEW commands at the REQ prompt.

Enter SPN digits in groups of 3 or 4 digits, separated by a space (e.g., xxxx xxx xxxx). SPN's can be up to 19 digits long.

FLEN (Flexible Length) is the number of digits the system expects to receive before accessing a trunk and outpulsing these digits.
If FLEN is 0, the Network Interdigit Timer (NIT, LD 15: TIM_DATA) is used to determine end-of-dialing (EOD): 2-(8) seconds. Try to avoid using FLEN 0 to speed up number recognition and outpulsing. Dialing the octothorpe (#) forces an immediate end-of-dial (EOD).

The printouts below demonstrate this example.

>ld 90
ESN000

MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752
REQ  prt
CUST 0
FEAT net
TRAN ac1
TYPE spn

SPN

SPN  00
FLEN 0        Flexible Length = number of digits required before outpulsing
INPL YES
RLI  3        Dial strings starting with '00' will use RLI 3
SDRR NONE     Supplemental Digit Recognition not used for this SPN
ITEI NONE

SPN  01
FLEN 9
INPL YES
RLI  2        Dial strings starting with '01' will use RLI 2
SDRR NONE
ITEI NONE

SPN  02
FLEN 9
RLI  2
SDRR NONE
ITEI NONE

SPN  2
FLEN 7
RLI  1        Dial strings starting with '2' will use RLI 1
SDRR NONE
ITEI NONE

SPN  5
FLEN 7
RLI  1
SDRR NONE
ITEI NONE


MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752

REQ  ****

See also: Supplemental Digit Recognition (SDRR). ARRN will route a specific number within an SPN to an alternate route list (ARLI).

Route Lists, RLI's:

The RLI number listed in the SPN Data Block is the Route List Index. These can be printed (the Route List Block) in LD 86, FEAT = RLB. This printout shows, among other things, the route number (ROUT) and the facility restriction level (FRL) for that route. The FRL number restricts a station with an NCOS value less than this number to not use this route (this too is programmable in LD 87 NCTL, but it's usually set up this way).

Also, note the ENTR number, this is the entry in a given route list. If the entry zero route is not available, either because the facility restriction level (FRL), Time of Day schedule (TOD), or some other reason, it will try to use entry 1, and so on. Different entries may require or use different DMI's, for digit manipulation, to make the dialed digits compatible with different routes.

In the printout below, RLI 1 will first try to use route 2, if thats not available, it will try route 1. If the entry list is exhausted, and the call is still not routed, the caller will hear re-order.

The number of entries searched in the 'initial set' is set by ISET. Therefore, if you add an entry, remember to increase ISET.

By default, LD 86 ESN, TGAR is NO, in which case there's no additional check for Trunk Group Access Restrictions.

>ld 86
ESN000

MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752
REQ  prt
CUST 0
FEAT rlb
RLI

RLI  1        Route List Index number specified by SPN entry

ENTR 0        Entry 0 - the 'first choice'
LTER NO
ROUT 2        'first choice' via route 2, if caller meets FRL 1
TOD  0 ON  1 ON  2 ON  3 ON
     4 ON  5 ON  6 ON  7 ON
CNV  NO
EXP  NO
FRL  1        Facility Restriction Level
DMI  0        Digit Manipulation Index, 0 = manipulation not required
FCI  0
FSNI 0 
BNE NO
SBOC RRA      Step Back on Congestion: (NRR) = no reroute, or RRA = reroute all 
COPT 2        QSIG Alternate Routing supported for cause options (1), or 2
IDBB DBA      ISDN Drop Back Busy: (DBD) = disabled, DBA = drop back all, or DBI = iset
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1        Entry 1 - the 'second choice'
LTER NO
ROUT 1        'second choice' via route 1, if trunks in route 2 are all busy
TOD  0 ON  1 ON  2 ON  3 ON
     4 ON  5 ON  6 ON  7 ON
CNV  NO
EXP  NO
FRL  1
DMI  0
FCI  0
FSNI 0 
BNE NO
SBOC NRR      NRR = no reroute on congestion
COPT 1
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 2        There are two entries in this RLB's 'initial set'
MFRL 1
OVLL 0

RLI  2        The next Route List Index number

ENTR 0        Entry 0 - the 'first choice'
LTER NO
ROUT 2
TOD  0 ON  1 ON  2 ON  3 ON
     4 ON  5 ON  6 ON  7 ON
CNV  NO
EXP  NO
FRL  2
DMI  0
FCI  0
FSNI 0 
BNE NO
SBOC NRR
COPT 1
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ENTR 1         Entry 1 - the 'second choice'
LTER NO
ROUT 1
TOD  0 ON  1 ON  2 ON  3 ON
     4 ON  5 ON  6 ON  7 ON
CNV  NO
EXP  NO
FRL  2
DMI  0
FCI  0
FSNI 0 
BNE NO
SBOC NRR
COPT 1
IDBB DBD 
IOHQ NO
OHQ  NO
CBQ  NO

ISET 2        There are two entries in this RLB's 'initial set'
MFRL 2
OVLL 0


MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752
REQ****

ISDN/QSIG Congestion:

Analog trunks can be idle or busy, ISDN digital trunks have an informative DCH Cause Code message on call completion.

SBOC (Step Back on Congestion) bumps a call to the next RLI ENTR if the current entry can't be used due to congestion or failure.
With RRA, if the DCH returns a Call Clearing message with Cause 34, 38 or 42 (see COPT below), the next RLI entry is attempted.

QSIG Alternate Routing (SBOC RRA) is supported for the following causes:

COPT 1:
  • Cause 34 = No channel/circuit available
  • Cause 38 = Network out of order
  • Cause 42 = Congestion
COPT 2, as COPT 1, plus:
  • Cause 3 = No route to destination
  • Cause 27 = Destination is out of service
  • Cause 41 = Temporary failure

Use SBOC in conjunction with with IDBB DBA - ISDN Drop Back Busy: (DBD) Drop Back Disabled, DBA Drop Back if All routes busy, DBI Drop Back if Initial set busy. IDBB appears if ISDN=YES in LD 15

And remember, the number of entries searched in the 'initial set' is set by ISET. If you add an ENTR entry, increase ISET to use it.

Digit Manipulation, DMI's:

Different trunk routes may require or use different DMI's (Digit Manipulation) to make the digit string compatible with that route.
Digit Manipulation entries are edited and printed in LD 86, FEAT equal to DGT.

REQ
Request CHG, END, NEW, OUT, PRT
FEAT
Feature = DGT (Digit manipulation)
DMI
Digit Manipulation Index number
DEL
Number of leading digits to be Deleted: (0)-19
INST
Insert (prepend) leading digits (up to 31)
CTYP
Call type for the call (NCHG)

For example, enter LD 86, and print the Digit Manipulation entries:

>ld 86
ESN000

MEM AVAIL: (U/P): 1094238    USED: 265633    TOT: 1359871
DISK RECS AVAIL: 2752
REQ  prt
CUST 0
FEAT dgt
DMI           <return> to print all DMI's

DMI  1        
DEL  1        Delete one leading digit
INST 035      Prepend 035 to digit string
CTYP UKWN     Call type is unknown

DMI  2 
DEL  0 
INST 622
CTYP NCHG     Call type not changed

DMI  3 
DEL  0 
INST 88
CTYP NCHG