Change Nature of Address (NOA) and Screening Indicator (SCI)

A. This script will replace the called and calling NOA if it is set in the routing table.
Need to define a route column “called_noa” and “calling_noa” with the values national, international or Keep (to keep it unchanged)
Routes → Create New Route Column
Name: called_noa
Type attributes: national|international|keep
Default: keep
Do the same for “calling_noa”

B. This script will replace the screening indicator if it is set in the routing table
Need to define a route column “screening” with these values: network or keep
Routes → Create New Route Column
Name: screening
Type attributes: network|keep
Default: keep


How to use:

  1. Load flexible_noa_sci.rb script:
    Gateway → Routing Scripts → Import Script File
    File: flexible_noa_sci.rb
    ScriptType: Customer
    Load at Startup: [unchecked]
  2. Edit main script in 3 places (maybe simple_routing.rb):
    require ‘flexible_noa_sci’
    [In Main class]
    include FlexibleNOASCI
    route_remap :method => :flexible_noa_sci_remap

Attachments

Change Nature of Address (NOA) and Screening Indicator (SCI) Attachment
flexible_noa_sci.zip Delete