@extends('layouts.app') @push('style') @endpush @section('content')

Number Blacklist

Block specific phone numbers or patterns from calling in or being dialed out.
@if (session('status'))
{{ session('status') }}
@endif {{-- Stats row --}}
{{ $stats['inbound_count'] }}
Inbound rules active
{{ $stats['outbound_count'] }}
Outbound rules active
{{ number_format($stats['total_blocks']) }}
Total blocks
{{-- Tab nav --}}
Inbound (Block Callers) Outbound (Block Destinations)
{{-- Test number widget --}}
Quick Test: Direction: {{ ucfirst($direction) }}
{{-- Blacklist table --}}
@forelse($entries as $entry) @empty @endforelse
Pattern Reason Blocked Last Block Actions
@csrf
{{ $entry->pattern }} @if($entry->reason) {{ $entry->reason }} @else No reason given @endif {{ $entry->block_count }} {{ $entry->last_blocked_at?->diffForHumans() ?? '—' }}
@csrf @method('DELETE')
No {{ $direction }} blacklist rules yet.
Click "Add {{ ucfirst($direction) }} Rule" to create your first one.
@if($entries->hasPages()) @endif
@if($direction === 'outbound') {{-- Per-extension bypass — searchable two-list picker (scales to 100+ extensions) --}}
Outbound Blacklist Bypass Extensions allowed to dial blocked numbers
Some extensions (managers, receptionists) may need to dial numbers that are otherwise blocked. Move them into Allowed to Bypass on the right. Changes save automatically.
{{-- Available --}}
Available Extensions
    {{-- Selected --}}
    Allowed to Bypass 0
    No extensions can bypass the blacklist yet.
      @endif {{-- Add modal --}} {{-- Edit modal --}} @push('scripts') @endpush @endsection