Skip to main content

InboundBlacklist Model

The InboundBlacklist model represents blocked caller entries for filtering unwanted inbound calls.

Overview

PropertyValue
NamespaceApp\Models
Tableinbound_blacklists
Primary Keyid
Global ScopeOrganizationScope

Database Schema

ColumnTypeNullableDescription
idbigint unsignedNoPrimary key
organization_idbigint unsignedNoOrganization ID
phone_numbervarchar(50)NoNumber/pattern to block
match_typeenum(exact,prefix,pattern)NoMatch type
descriptiontextYesDescription
statusvarchar(50)Noactive/inactive
created_attimestampNoCreation timestamp
updated_attimestampNoUpdate timestamp

Match Types

TypeDescriptionExample
exactExact match+1234567890
prefixStarts with+1800
patternRegex pattern`^+1(800

Relationships

Belongs To

  • organization() → Organization

Methods

  • isActive(): bool
  • matches(string $number): bool