DNIS (dialed number identification service) is a carrier feature that tells the receiving phone system which number the caller dialed. It matters whenever one connection carries calls for more than one number: the same trunk might ring sales, support, and a Spanish-language line, and DNIS is how the receiving system knows which experience to deliver. Here is what it is, how it differs from the two identifiers it gets confused with, and how voice agents route on it.
What DNIS actually is
A business that rents fifty phone numbers does not want fifty physical lines. The carrier delivers all of those calls over one connection, and DNIS is the piece of signaling that says which number each call was placed to. Without it, every call on the trunk would look identical.
The service predates internet telephony. Carriers sold it for toll-free 800 and 900 services in the US, where a call center might run dozens of 800 numbers into the same banks of agents. The carrier sent the dialed digits, typically four to ten of them, as tones during call setup, and the customer’s equipment read them to decide how to handle the call.
DNIS vs DID vs ANI
Three telephony identifiers overlap in conversation but answer different questions.
| Term | What it identifies | Who uses it |
|---|---|---|
| DID (direct inward dialing) | The number itself, rented from a carrier | Anyone dialing the business |
| DNIS | Which of your numbers was dialed | The receiving system, for routing |
| ANI (automatic number identification) | The caller’s number | The receiver, for lookup and billing |
A DID number is the thing a caller dials. DNIS is the signal describing which DID they dialed. ANI travels in the other direction: it reports the caller’s number, and toll-free carriers created it so the called party could be billed. ANI is also why 911 operators and 800-number agents see your number even when you block caller ID: ANI is a carrier signaling field, not the caller-ID presentation you can suppress.
A contact center typically uses both directions at once. The ACD reads DNIS to pick a queue and ANI to pull up the caller’s account before the agent says hello.
How DNIS works over SIP
On a SIP trunk, DNIS is not a separate service at all. The dialed number is part of the SIP protocol handshake: when the carrier sends the INVITE, the number sits in the request line and the To header, in E.164 format. Anything that terminates SIP can read it with no extra provisioning, which is why the standalone DNIS product quietly disappeared into the protocol.
The receiving platform then keeps a table from number to destination. Calls to +1 415 555 0100 go to the sales team, +1 415 555 0101 to support. That lookup is the whole job, and it happens before anyone, human or agent, answers.
What DNIS is used for
Routing is the main use, and it comes in a few familiar shapes. A company runs one number per department or language and DNIS sends each call to the right team. An answering service runs one number per client and greets every caller with the client’s name. A contact center runs one number per region and the ACD routes by both DNIS and skill tags.
Attribution is the other classic. Give each ad, billboard, or search campaign its own number, and DNIS tells you which one made the phone ring. The technique predates tracking pixels by decades and still works in industries where customers call.
The common thread: every one of these happens without asking the caller anything. The number dialed is metadata the caller supplies for free, so routing on it costs them zero effort.
DNIS for a voice agent
A voice agent platform is exactly the kind of receiving system DNIS was built for, and the number-to-destination table is the whole trick. One number per agent, per campaign, or per language, and the platform loads the right instructions on the first ring, with no menu and no “what are you calling about?”
On Cartesia, that lookup is the default routing model. Inbound calls route to the agent assigned to the dialed number, and an agent can have several numbers while a number maps to one agent at a time. You can bring numbers from any country your carrier serves over a SIP trunk, import numbers from your Twilio account, or use Cartesia-provisioned US numbers. A sales agent, a support agent, and a Spanish-language agent can share one trunk and never get each other’s calls.
Campaign numbers work the same way. Point a separate number at the same agent for each campaign, and the dialed number on each call record tells you which campaign produced it.
Where Cartesia fits
Cartesia is not a carrier, so we don’t rent numbers in bulk or sell trunk capacity. If you need a block of DIDs, a carrier or a CPaaS like Twilio is the right source.
Where we fit is what answers the call. Cartesia voice agents take calls on numbers from all three sources above and route on the dialed number automatically, and agent calls cost $0.03 per minute, plus LLM usage and, on Cartesia numbers, the $0.014 per minute telephony fee. The playground is the fastest way to hear what picks up.