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:
- Load flexible_noa_sci.rb script:
Gateway → Routing Scripts → Import Script File
File: flexible_noa_sci.rb
ScriptType: Customer
Load at Startup: [unchecked] - 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