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

Script to Set TNS (Transit Network Selection) by Route

Go down

Script to Set TNS (Transit Network Selection) by Route Empty Script to Set TNS (Transit Network Selection) by Route

Post by NicoleTan Mon Dec 18, 2023 3:35 pm

This script is to set the TNS (Transit Network Selection ) related parameters with the values configured in the Routes.

To use these filters:

Added 2 New Route Columns -- In Routes -> Create New Route Column:
tns_value:
Type attributes: string, Default: blank

nid_plan:
Type attributes: string, Default: blank

Add the following lines to the main script (default main script :simple_routing.rb)

require 'set_tns_by_route' unless defined?(SETTNSBYROUTE)

include SETTNSBYROUTE
 
route_remap :method => :set_tns_by_route (Note: make it as a route_remap filter)

See more detail about Transit Network Selection here:

https://docs.telcobridges.com/Routing_script_tutorial:Mini_Development_Guide
Attachments
Script to Set TNS (Transit Network Selection) by Route Attachment
Transit Network Selection - Script to set TNS by route.zip Transit Network Selection - Script to set TNS by routeYou don't have permission to download attachments.(3 Kb) Downloaded 0 times


Last edited by NicoleTan on Tue Dec 19, 2023 12:50 pm; edited 1 time in total

NicoleTan

Number of Messages : 18
Point : 38
Registration Date : 2017-11-27

Back to top Go down

Script to Set TNS (Transit Network Selection) by Route Empty Re: Script to Set TNS (Transit Network Selection) by Route

Post by NicoleTan Mon Dec 18, 2023 5:53 pm

Script to Set TNS (Transit Network Selection) by Route Tns10
Attachments
Script to Set TNS (Transit Network Selection) by Route Attachment
SS7_Capture.zip SS7 capture with the set TNSYou don't have permission to download attachments.(1 Kb) Downloaded 0 times

NicoleTan

Number of Messages : 18
Point : 38
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