Skip to main content
This integration filters your VICIdial lists against state, federal (FTC), and internal DNC lists, as well as TCPA and Litigator scrub — directly through your DNC.com account. It works in two modes: batch outbound list filtering that updates lead statuses before you dial, and inbound DID filtering that screens calls coming in through DIDs on your system.
DNC.com offers VICIdial users a free 15-day trial of real-time integrated TCPA and DNC Safe Harbor lead scrubbing. Contact VICIdial for details on the free offer.

Prerequisites

  • A VICIdial system with command-line (CLI) access to one of your dialers
  • A DNCScrub account with API access — your Login ID (API ID) and, optionally, a Project ID or Campaign ID
  • Permission to create a Settings Container and edit DID entries in the VICIdial admin

Step 1: Create the Settings Container

Both the outbound and inbound filters read their configuration from a single VICIdial Settings Container with the ID DNCDOTCOM. Create it once and customize it for your DNC.com account.
1

Add the container

In the VICIdial admin, create a new Settings Container with the container ID DNCDOTCOM.
2

Enter your account and connection settings

Add your DNC.com credentials and connection options (see the table below). At minimum, set your LOGIN_ID and the lists you want to scrub.
3

Map the result codes to statuses

Set each STATUS_* option to the VICIdial status you want a number to receive when DNC.com returns that result code.

Connection and account settings

Example Settings Container

DNCDOTCOM

Result codes

When DNC.com scrubs a number, it returns a result code. Each STATUS_* setting controls the VICIdial status the lead is updated to for that code. The defaults above (*DNCCM) are examples — set them to whatever fits your dial plan.

Step 2: Run Outbound List Filtering

Outbound filtering runs in batch mode against lists that are already loaded on your system. It does not look up numbers as they are dialed. Run the filter script from the Linux command line, passing the lists to scrub:
Schedule it from the crontab of one of your dialers. Run it after-hours, or only during calling hours on inactive lists, to avoid scrubbing leads that are actively being dialed.
The --lists argument and the VICI_LISTS setting both identify lists with IDs separated by a hyphen (for example 105-106).

Step 3: Configure Inbound DID Filtering

A separate script, DNCcom_inbound_filter.php, screens calls coming in through your DIDs. It uses the same DNCDOTCOM Settings Container, plus two inbound-specific options.

Inbound settings

DNCDOTCOM (inbound additions)

Point a DID at the filter

1

Set the inbound filter to URL

On the DID entry, set Filter Inbound Number to URL. For a system-wide filter, use the did_system_filter DID entry, reached from the link on the Admin → System Settings page.
2

Enter the Filter URL

Set the DID’s Filter URL to point at the inbound filter script on your webserver. Replace the IP with the local address your dialers use to reach the webserver (the example below assumes 192.168.1.3):
If you receive calls from North America, set the DID option Clean CID Number to R10 so numbers are always looked up as proper 10-digit values.
For batch cellphone filtering specifically, see VICIdial’s CELLPHONE_USA_TCPA_FCC_COMPLIANCE.txt document.

Support