Skip to main content

howto_block_routes

Using Traffic Processing Rules

You can block routes by creating specific Traffic Processing Rules and replacing Dst Number. To do so, follow these steps:

  • Go to the ManagementTraffic Processing.
  • Click Add Rule button and fill in all required fields.
tip

If the number is "123#456", match field is ^123#(.*)$ and replace field is 789\1, then the resulting number will be "789456".

Case 1: block a specific calls destination (for example, calls from Ukraine to the USA). To configure a respective rule, select Orig type and Customer A, Code - "1*", Src Match - ^380.*$ and Dst Replace - blocked. As the result, Dst Number will be replaced to "blocked" and all calls of "Customer A" from Ukraine to USA will be denied (see screenshot below).

Traffic Processing edit form/ case 1

Case 2: block calls with an empty Src Match. To configure a respective rule, select Orig type and Customer A, Src Match - ^\s*$ and Dst Replace - "blocked". As the result, Dst Number will be replaced to "blocked" and respective calls will be denied (see screenshot below).

Traffic Processing edit form/ case 2

Case 3: You can block calls by sending to non-existent Terminator via Traffic Processing. To do so, follow these steps:

  1. Go to the ManagementTraffic Processing.

  2. Click Add Rule button and fill in all required fields. For example: select Orig type and Customer A, Src Match - ^380.*$, Tags Add - "blocked" (see screenshot below).

    traffic Processing edit form

  3. Go to the ManagementClients and check the Routing Plan that was assigned to Customer A.

  4. Open the RoutingRouting Plans section.

  5. Create a Routing Rule for this Routing Plan with next parameters: Code - "*", Type - Static Client, Terminator - Term, Originator Tags - "blocked" and enable Stop Hunt checkbox.

    Routing Rules settings