Mike's PBX Cookbook

SPN Alternate Routing using ARRN

A number that matches an SPN (Special Number) will always take that RLI (Route List), unless it more specifically matches an Alternate Routing Remote Number (ARRN) entry, in which case it will take the associated Alternate RLI (ARLI).

With Supplemental Digit Recognition (SDDR), ARRN is used to alternatively route a specific number (or a range) within an SPN. Flexible numbering plan (FNP) has to be yes under the NET_DATA data block (LD 15, print in LD 21). You can only use ARRN with SPNs.

Example:

An example SPN table, in LD 90:

REQ prt                LD 90
CUST 0
FEAT net
TRAN ac1
TYPE spn

SPN

SPN  017
FLEN 11                Flexible Length = number of digits required before outpulsing
RLI  3
ARRN 2                 Alternate Routing Remote Number to be recognized within SPN
ARLI 12                Alternative Route List Index for that number (017-2-xxxxxxx)
SDRR ARRN CODES = 1
ITEI NONE

SPN  07
FLEN 8
RLI  3
ARRN 52
ARLI 6
ARRN 555602
ARLI 8
ARRN 555604
ARLI 8
SDRR ARRN CODES = 3
ITEI NONE

SPN  08
FLEN 0
RLI  3
ARRN 0
ARLI 8
SDRR ARRN CODES = 1
ITEI NONE

SPN  09
FLEN 0
RLI  3
SDRR NONE
ITEI NONE

The above example shows:

  1. SPN 017 calls (cell phone) will go via RLI 3, except 0172-xxxxxxx will go via RLI 12.
    REASON: All my cell calls (017) will use RLI 3, but I have a VodaFone GSM Gateway, so I'll use this for my 0172 calls.
  2. SPN 07-xxxxxx (FLEN is 8) will go via RLI 3, except:
    07-52xxxx will go via RLI 6
    07-555602 will go via RLI 8
    07-555604 will go via RLI 8
    REASON: It might be desirable to split specific numbers out, either for different routes, or FRL (NCOS) reasons.
  3. SPN 08-x will go via RLI 3, except 080x which will go via RLI 8
    REASON: 08 calls will use my normal outgoing route, except 080x calls which will go via RLI 8. A reason to do this might be to change the FRL.
  4. SPN 09-x will go via RLI 3, there are no alternate entries (FLEN is 0, so EOD waits for the interdigit timeout, or #).
    If FLEN is 0, the Network Interdigit Timer (NIT), LD 15: TIM_DATA, is used to determine end-of-dialing (EOD).
    NIT 2-(8) - Network Alternate Route Selection (NARS) Interdigit Timer

    Note: Dialing the octothorpe (#) forces an immediate end-of-dial (EOD).

Editing ARRN's:

To add an Alternate Routing Remote Number entry, CHG the SPN and enter ARRN at the Supplimental Digit Recognition (SDRR) prompt. Then enter the ARRN and associated ARLI. To remove an ARRN entry, prefix the number with x (CHG, not OUT the SPN!).

SPN  07            LD 90
FLEN
INPL
CLTP
RLI  
SDRR arrn
ARRN x555604       Prefix with x to remove
ARRN
SDRR
ITEI