Grouping the NAPs for route
Page 1 of 1
Grouping the NAPs for route
This script groups the incoming NAPs and allowed to create of only one route for the same destination for the incoming call route.
How to use this script
1. Import this script as other filter scripts in the Web Portal (if not already done)
2. Locate your "main" script (the routing scripts entry point, like "simple_routing.rb")
and include the current filter as a route_remap
2.1. Add the following line at the beginning of the main routing script to load the current filter script:
require 'multiple_incoming_naps'
2.2. Include the current filter to your routing script's main class (first line after 'class MyScriptName')
include MultipleIncomingNaps
2.3. before_filter :method => :multiple_incoming_naps
3. Create a new Route column named incoming_group type text. The default is empty.
4. All the NAPs in the same group must be named with the same prefix. like below
TB_NAP_01
TB_NAP_02
TB_NAP_03
5. in the create incoming group column you need to set regex. For the NAPs above you need to add the following regex
/^TB_NAP_.*/
How to use this script
1. Import this script as other filter scripts in the Web Portal (if not already done)
2. Locate your "main" script (the routing scripts entry point, like "simple_routing.rb")
and include the current filter as a route_remap
2.1. Add the following line at the beginning of the main routing script to load the current filter script:
require 'multiple_incoming_naps'
2.2. Include the current filter to your routing script's main class (first line after 'class MyScriptName')
include MultipleIncomingNaps
2.3. before_filter :method => :multiple_incoming_naps
3. Create a new Route column named incoming_group type text. The default is empty.
4. All the NAPs in the same group must be named with the same prefix. like below
TB_NAP_01
TB_NAP_02
TB_NAP_03
5. in the create incoming group column you need to set regex. For the NAPs above you need to add the following regex
/^TB_NAP_.*/
- Attachments

» Grouping naps
» Grouping the NAPs
» Creating one route for multiple incoming NAPs for the same destination
» Manipulate registered route
» Need help with the syntax for adding NAPs with the API
» Grouping the NAPs
» Creating one route for multiple incoming NAPs for the same destination
» Manipulate registered route
» Need help with the syntax for adding NAPs with the API
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum