Management [Документация VAS Experts]

Management

This service is configured on individual subscribers' level by fdpi_ctrl.

Instruction format:

fdpi_ctrl command --service 6 [IP_list]

You can find more details on the instruction syntax and IP specification methods here: Control instructions

Examples

1. To activate notification for a particular subscriber with a default profile (configuration file /etc/dpi/fastdpi.conf):

fdpi_ctrl load --service 6 --ip 192.168.0.1
After successful notification the service is switched off automatically.

2. To create a named profile and to activate notification with a profile for a group of subscribers

fdpi_ctrl load profile --service 6 --profile.name  TV_channel_our_football_advertisment --profile.json '{ "redirect" : "http://mysite.ru/landing_our_football", "check" : true }'
fdpi_ctrl load --service 6 --profile.name TV_channel_our_football_advertisment --ip 192.168.0.1
fdpi_ctrl load --service 6 --profile.name TV_channel_our_football_advertisment --ip 192.168.0.2

here the following profile setting using the json format are set:

  • redirect - redirection page
  • Check: true/false - check or not to check if the redirection succeeded
(redirection checking allows you to increase the reliability of this service, but requires the requests to the redirection page being routed through the DPI)

3. To activate the notification service with the anonymous profile (profile without a name existing up to the subscriber's service deactivation) for a particular subscriber:

fdpi_ctrl load --service 6 --profile.json '{ "redirect" : "http://mysite.ru/landing_nash_football", "check" : true }' --ip 192.168.0.2

Examples of named profiles management

1. To search the subscribers with active notification service with the given profile name

fdpi_ctrl list all --service 6 --profile.name TV_channel_football_advertisment

2. To delete a named profile (there should be no subscribers using this profile)

fdpi_ctrl del profile --service 6  --profile.name tariff_10

3. To change the service (profile) settings (new settings are applied to all the subscribers with specified service profile)

fdpi_ctrl load profile --service 6 --profile.name TV_channel_our_football_advertisment --profile.json '{ "redirect" : "http://mysite.ru/landing_nash_football", "check" : true }'