Toolpack:Configuring lawful interception A

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(add script example)

Revision as of 09:47, 18 June 2013

Applies to version(s): v2.7

Note: This procedure assumes that a Law Enforcement Agencies NAP has been created. Each Law Enforcement Agencies requires that a NAP be configured in order that the intercepted call legs are sent. NAPs can be dedicated for lawful interceptions or not.


Multiple Law Enforcement Agencies can be created in Toolpack. They operate independently of each other. They can intercept the same calls, as well as different ones.

To configure a Law Enforcement Agency:

1- Select Lawful Interception from the navigation panel

Toolpack Navigation LawfulInterception A.png

2- Enter an Indentifier for the Network Operator.

  • Click Save

3- Create a Lawful Agency

  • Click Create New Lawful Agency


Lawful configuration shot.png

4- Configure the Lawful Agency parameters:

  • Click Save.


Lawful agency shot.png


5- The Lawful Intercept filter is activated by the following:

  • Including the 'Lawful intercept' module in your routing script: require 'base_routing'
  • Include the LawfulIntercept class: include LawfulIntercept
  • Adding the Lawful Intercept "after_filter" to your script: after_filter :method => :enable_lawful_intercept

Script example

require 'base_routing'

require 'lawful_intercept'                                # <- Add this line here

class SimpleRouting < BaseRouting
  include LawfulIntercept                                 # <- Add this line here
 
  route_match :call_field_name => :called
  route_match :call_field_name => :calling
  route_match :call_field_name => :nap
  route_remap :call_field_name => :called, :route_field_name => :remapped_called
  route_remap :call_field_name => :calling, :route_field_name => :remapped_calling
  route_remap :call_field_name => :nap, :route_field_name => :remapped_nap
  
  after_filter :method => :enable_lawful_intercept        # <- Add this line here
end

@@routing = SimpleRouting.new

def init_routes( routes )
  @@routing.init routes
end

def route( call, nap_list )
  @@routing.route call, nap_list
end

List of Parameters

Personal tools