Inbound Blacklist
The Inbound Blacklist allows you to block unwanted callers using flexible pattern matching. You can define rules that apply globally across all your phone numbers or target specific DIDs, and choose how blocked calls are handled.
Accessing the Blacklist
Navigate to Inbound Blacklist in the sidebar. This feature is available to Owners and PBX Admins.
Match Types
Each blacklist rule specifies a caller ID pattern and a match type that determines how the pattern is evaluated:
| Match Type | Pattern Example | Matches |
|---|---|---|
| Exact | +14155551234 | Only that specific phone number |
| Prefix | +1415 | Any number starting with +1415 (e.g., all San Francisco numbers) |
| Wildcard | +1415555???? | Numbers matching the wildcard pattern (* = any characters, ? = single character) |
Use Prefix matching to block all calls from a specific area code or country code. Use Wildcard for more complex patterns.
Rejection Strategies
When a call matches a blacklist rule, OPBX handles it according to the configured rejection strategy:
| Strategy | Behavior | Caller Experience |
|---|---|---|
| Drop | Silently hang up the call | Caller hears nothing (call appears to fail) |
| Reject | Play a rejection message, then hang up | Caller hears "Your call has been rejected" |
| Torment | Place the caller in a conference room with hold music | Caller is held in a loop with music for a configurable duration |
The Torment strategy is useful for persistent spam callers. It ties up their line while playing hold music, discouraging further calls. You can configure the music timeout to control how long the caller is held.
Rule Scope
Blacklist rules can be applied at two levels:
- Global: The rule applies to all phone numbers (DIDs) in your organization. Any inbound call matching the pattern is blocked regardless of which number was dialed.
- Per-DID: The rule only applies to specific phone numbers that you select. Calls to other numbers from the same caller are not affected.
Creating a Blacklist Rule
- Navigate to Inbound Blacklist and click Add Rule
- Enter the Caller ID Pattern (the number or pattern to block)
- Select the Match Type (Exact, Prefix, or Wildcard)
- Choose the Rejection Strategy (Drop, Reject, or Torment)
- Set the Scope:
- Toggle Global to apply to all DIDs
- Or select specific phone numbers the rule should apply to
- Set the Status to Active
- Click Save
Managing Rules
- Toggle Status: Click the status toggle to enable or disable a rule without deleting it
- Edit: Click a rule to modify its pattern, strategy, or scope
- Delete: Remove a rule permanently
Blocked Call Logs
OPBX maintains a log of all blocked calls. Access it from the Blocked Calls section on the Inbound Blacklist page.
Each log entry records:
- Caller ID of the blocked caller
- Phone number that was dialed
- Which blacklist rule matched
- Rejection strategy that was applied
- Timestamp
Statistics
The blacklist statistics panel shows aggregate data including:
- Total number of blocked calls
- Breakdown by rejection strategy
- Most frequently blocked callers
Blacklist rules are evaluated before call routing. If a caller matches a blacklist rule, the call is blocked immediately and never reaches any routing destination (extension, ring group, IVR, etc.).
How It Works
When an inbound call arrives, OPBX checks the caller ID against all active blacklist rules for the organization:
- First, global rules are checked (rules that apply to all DIDs)
- Then, per-DID rules are checked for the specific phone number that was dialed
- If any rule matches, the configured rejection strategy is executed
- If no rules match, the call proceeds to normal routing
Next Steps
- Phone Numbers -- Configure the DIDs that blacklist rules can target
- Call Routing Overview -- Understand how blacklist fits into the routing pipeline
- Outbound Whitelist -- Control outbound dialing destinations