The Article describes how to block calls from blacklisted contacts via Dialpan.
Created: December 2015
Updated: June 2019
You can add blacklisted contacts to your phonebooks in different modes: from Collaboration, from the imported backend (MySQL, сsv, etc). Here it is described how to add a contact in Collaboration.
Consult Collaboration User Guide for detailed information about how to create phonebooks and contacts.
To define a contact as blacklisted, add [blocked] tag to its name. Detailed information about how to create phonebooks and contacts can be found in Collaboration User Guide.
Note: If a contact is present in other phonebooks, you need to move it to the dedicated phonebook or replace/ rename it in another phonebook. Otherwise, [blocked] tag cannot be applied.
Modify Dialplan procedure used for managing incoming calls by adding Dialplan applications: