Adding NAP Grouping Script

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "=== '''''Applies to version(s): v2.9, v2.10, v3.0, v3.1''''' === {{DISPLAYTITLE:Adding Grouping NAP Script}} This shows how to add '''Grouping NAP''' script to any Routing scr...")
 
Line 22: Line 22:
 
|-
 
|-
 
| valign="top" |
 
| valign="top" |
*[[Media:multiple_naps.zip|capture_dtmf.rb]]
+
*[[Media:multiple_naps.zip|multiple_naps.rb]]
 
|}
 
|}

Revision as of 02:15, 10 February 2020

Applies to version(s): v2.9, v2.10, v3.0, v3.1

This shows how to add Grouping NAP script to any Routing scripts.

Script description

This filter is used to dynamically generate routes from a Regex. For example, you can have 1 route from SS7 to SIP. In this route, you specify additional SIP routes for load balancing. NAPs: SS7_A, SS7_B, SIP_Z, SIP_Y, SIP_X Route:

   Incoming NAP: SS7_A
   Outgoing NAP: SIP_Z
   Additional NAPs: /SIP_.*/
   Result: 3 routes (SS7_A => SIP_Z, SS7_A => SIP_Y, SS7_A => SIP_X)

Add NAP Grouping Scripts in system

Download this file:

Multiple NAPs Script
Personal tools