NEW FEATURE RELEASE: Agent Availability Check
Location: Targets or RTB Targets → Agent Availability Check
Release Date: October 24, 2025Agent Availability Check lets you ensure that only targets with active agents are eligible for routing.What’s New
Check Agent Availability:
Adds a new toggle on the Target configuration page that enables an availability “ping” before routing.
When enabled, Moja will call the configured availability URL and include the target in routing only if the endpoint returns a positive response (>0 agents available).
New Configuration Fields:
Availability Ping URL → endpoint to check agent status.
Availability Ping Timeout (ms) → maximum wait time before marking a target unavailable (default 1000 ms).
How It Works:
Moja pings the defined URL before each routing decision.
If the response value is
>0, the target is eligible.A
0or timeout response excludes the target.Ping duration and results are logged for reliability tracking.
Technical Summary:
Extends Target schema with
availability_ping_urlandavailability_ping_timeout.Reuses existing RTB ping components.
Runs in pre-routing eligibility logic (alongside advanced filters and hours-of-operation).
Includes full unit and integration tests for success, timeout, and error scenarios.
Why This Matters
Previously, targets were considered eligible even when no live agents were available, leading to routing inefficiencies and missed calls.
The Agent Availability Check ensures Moja routes calls only to endpoints with active, ready agents — improving connection rates and reducing wasted call attempts.Example Use Cases
Skip routing to call centers that are temporarily unmanned.
Dynamically disable inactive vendor endpoints.
Support load-based distribution across partner networks.
Getting Started
You’ll find the new Check Agent Availability toggle and timeout input on each Target’s configuration page.
To activate:
Enable the toggle.
Enter your availability URL.
(Optional) Adjust the timeout if your API responds slower or faster than 1 second.