Change Nature of Address (NOA) and Screening Indicator (SCI)
Page 1 of 1
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
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
lmorissette- Number of Messages : 45
Point : 89
Registration Date : 2017-11-27
Similar topics
» Script to change Private Address - PAI
» Replacing Calling anonymous with Private Address
» How to Recover an Elastic IP address in AWS?
» Send out SIP messages with FQDN instead of IP address
» Change Hostname
» Replacing Calling anonymous with Private Address
» How to Recover an Elastic IP address in AWS?
» Send out SIP messages with FQDN instead of IP address
» Change Hostname
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum