<?php

namespace App\Services\Communications\Routing\Rules;

use App\Services\Communications\Routing\RoutingContext;
use App\Services\Communications\Routing\RoutingDecision;
use App\Services\Communications\Routing\RoutingRule;

class RouteVoicemailFallbackRule implements RoutingRule {
    public function handle(RoutingContext $context): ?RoutingDecision {
        return RoutingDecision::voicemail('no_available_agent_or_queue');
    }
}