Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

Go down

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

Post by lmorissette Mon Dec 18, 2023 3:53 pm

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 NOA and SCi scriptYou don't have permission to download attachments.(1 Kb) Downloaded 0 times

lmorissette

Number of Messages : 41
Point : 79
Registration Date : 2017-11-27

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum