Call Block

From FusionPBX
Revision as of 14:18, 28 December 2012 by Gerritv (talk | contribs) (Initial entry of Call_block setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

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

Configuration

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

For a particular Incoming Route:

  • 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