Difference between revisions of "Call Block"

From FusionPBX
Jump to: navigation, search
m
Line 1: Line 1:
'''Menu: (Apps-Call_Block)'''
+
'''Menu: (Apps-Call Block)'''
  
 
Call_block is a module that lets you create and manage a block list for incoming calls. You can set the action to Reject a call, return a Busy or send it directly to Voicemail. The module is multi-tenant aware.
 
Call_block is a module that lets you create and manage a block list for incoming calls. You can set the action to Reject a call, return a Busy or send it directly to Voicemail. The module is multi-tenant aware.

Revision as of 12:17, 19 June 2014

Menu: (Apps-Call Block)

Call_block is a module that lets you create and manage a block list for incoming calls. You can set the action to Reject a call, return a Busy or send it directly to Voicemail. The module is multi-tenant aware.

Call_block tracks the number of times that the caller was blocked.

You can enable/disable blocking without removing the entry from the block list.

Installation

The module is not yet part of the main install of FusionPBX. To install:

  • Create a directory call_block under fusionpbx/app
  • Copy the files from Apps/call_block to the above directory
  • Copy Apps/call_block/scripts/call_block.lua to fusionpbx/includes/install/scripts

On the FusionPBX UI,

  • Click on Advanced/Upgrade Schema to add the database tables and show Call_block in the Apps list
  • On System Menu, select Menu Manager, open the Default menu (or which ever one you are using) and click Restore Defaults. This adds Call Block to the menu system.
  • on Advanced/Group Manager go into each roles that you want to enable Call Block for and set the desired permissions.

You will need to log out and back in again for these permissions changes to take effect.

Configuration

Call_block works by checking the incoming callerid number against its database. If the callerid number and domain match, then the call can be blocked depending on the options that you set for that number.

For a particular Incoming Route (in Dailplan/Incoming Routes menu):

  • Add an Action (bottom of Incoming dialplan page)
  • set Tag=Action
  • set Order=70 (some number such that the action is performed before the Transfer action)
  • set Type=lua
  • Set Data=call_block.lua C
  • Group can be left empty
  • Click Save

The result should be a line in the incoming dialplan that looks like:

  • 'action lua call_block.lua C 70' just above the 'action transfer' line

Usage

Call_block appears on the Apps list. To manage your list of Blocked callers click on Apps/Call Block.. This shows you the current list of callerids.

To add:

  • Click on the + sign
  • Select one of the recent callers (click on + sign at RH side of page) to add it to the list OR
  • Manually enter the required information at the bottom of the page
  • Set the Action that you want to occur for that caller
  • Enable the action and click Save

Enjoy the peace and quiet of no nuisance calls.