Difference between revisions of "M4 How to block calls"
Line 14: | Line 14: | ||
Within [[M2_Dial_Peers|Dial Peer Settings]], "Destination" section, "Destination deny regexp" field, put regexp to match destination number you want to block. | Within [[M2_Dial_Peers|Dial Peer Settings]], "Destination" section, "Destination deny regexp" field, put regexp to match destination number you want to block. | ||
=Block calls with a specific Destination= | |||
You are able to block a special Prefix (Destination) by setting "-1" or "Blocked" Price for chosen Destination in corresponding Tariff. | |||
<br><br> | |||
There is two ways to set Blocked Destinations. You can set it by importing [[M2_Rates#Import_Rates_from_CSV| Rates from CSV]] with "-1" or word "Blocked" instead of price or changing Rate Details manually. | |||
<br><br> | |||
[[File:block_dst_in_rate_details_m2.png]] | |||
<br><br> |
Revision as of 08:40, 24 April 2015
Block calls with specific CallerIDs coming from particular Originator
Within Originator Device settings, "Origination Point" section, "Source (CallerID) Deny" field, put regexp to match CallerIDs you want to block.
Block calls with specific CallerIDs going to particular Terminator
Within Terminator Device settins, "Termination Point" section, "Source (CallerID) Deny" field, put regexp to match CallerIDs you want to block.
Block calls with specific CallerIDs going to particular Dial Peer
Within Dial Peer Settings, "Source" section, "Source deny regexp" field, put regexp to match CallerIDs you want to block.
Block calls to specific numbers going to particular Dial Peer
Within Dial Peer Settings, "Destination" section, "Destination deny regexp" field, put regexp to match destination number you want to block.
Block calls with a specific Destination
You are able to block a special Prefix (Destination) by setting "-1" or "Blocked" Price for chosen Destination in corresponding Tariff.
There is two ways to set Blocked Destinations. You can set it by importing Rates from CSV with "-1" or word "Blocked" instead of price or changing Rate Details manually.