Skip to main content
A DID (Direct Inward Dialing) number is a public telephone number that the PSTN can deliver calls to. In LaraCopilot, DIDs are provisioned against a tenant and act as the entry point for all inbound traffic. When a caller dials a DID, LaraCopilot looks up the associated DidRoute records to decide where the call should go — an extension, a call queue, or an IVR menu. Each DID is sourced from a carrier or VoIP provider and carries a status that controls whether it is actively accepting calls.

Key fields

How DID routing works

Each DID can have one or more DidRoute records attached to it. Routes define the destination — an extension or a queue — and any conditions that govern when that destination applies (time of day, day of week, etc.). When an inbound call arrives, LaraCopilot evaluates the routes in order and forwards the call to the first matching destination.
A DID with no active routes will fail to connect inbound calls. Always configure at least one route before setting a DID’s status to active.

API examples

Create a DID

Retrieve a DID with its routes

Routing DIDs to extensions vs. queues

Route to an extension

Best for dedicated lines — a direct number that always rings a specific person’s extension, such as an executive or a department head.

Route to a queue

Best for shared lines — a support or sales number that distributes calls across a pool of available agents using the queue’s configured strategy.
Point high-volume inbound DIDs at a call queue rather than a single extension. Queues provide hold music, overflow handling, and agent-level reporting that a direct extension cannot.