What is DNIS (dialed number identification)?

Rene 
What is DNIS (dialed number identification)?

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.

TermWhat it identifiesWho uses it
DID (direct inward dialing)The number itself, rented from a carrierAnyone dialing the business
DNISWhich of your numbers was dialedThe receiving system, for routing
ANI (automatic number identification)The caller’s numberThe 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.

FAQs

What does DNIS stand for?

Dialed number identification service: a carrier feature that tells the receiving phone system which number the caller dialed. It answers a different question than caller ID or ANI, which identify the person calling rather than the number they called.

What is the difference between DNIS and DID?

A DID is the phone number itself: the direct inward dialing number a carrier rents you and delivers calls to. DNIS is the data that says which of your numbers was dialed. When many DIDs share one connection, DNIS is how the receiving system tells the calls apart. Over SIP the distinction collapses, because the dialed number arrives in the INVITE itself.

What is the difference between DNIS and ANI?

Direction. ANI (automatic number identification) reports the caller's number, originally so toll-free carriers could bill the called party. DNIS reports the dialed number, so the receiver can route the call. One says who is calling; the other says what they called. A call center can use both: ANI to look up the customer, DNIS to pick the queue.

How does DNIS work with SIP trunking?

There is nothing extra to order. On a SIP trunk the dialed number is part of call setup: it sits in the INVITE's request line and To header, so any platform that terminates SIP can read it directly. The separate DNIS service was a feature of legacy toll-free trunks, where the carrier sent the digits as tones during call setup.

What is DNIS used for?

Routing calls by the number dialed: different departments, languages, or client accounts sharing one trunk, each reaching the right destination without asking the caller anything. It also powers campaign attribution, because a unique number per ad or region tells you which one produced the call.

Can an AI voice agent route on DNIS?

Yes, and on Cartesia that is the default. Inbound calls route to the agent assigned to the dialed number, so one deployment can run a sales agent, a support agent, and a Spanish-language agent on three numbers over the same SIP trunk. Assignments live in the Playground or the Phone Numbers API.