Cisco Dial-Peer Matching Practice

Practise how a Cisco IOS voice gateway picks a dial peer. Each problem gives a call and the dial-peer config. You pick the inbound peer the call matches, or the outbound peer that routes it, and Check my answer names your slip, such as reading destination-pattern against the called number on an inbound call.

Question

Exam practice

Dial-peer matching is topic 3.2 of the Cisco 350-801 CLCOR v1.2 exam: Troubleshoot dial-peer matching. The CLACC 300-815 v2.0 exam builds on it in topic 2.3, advanced dial peer features on CUBE. Start with the free real exam questions, then get the full pack.

Cisco 300-815 CLACC245 real exam questions · US$39
Free: 61 questionsGet the full pack

Dial-peer FAQ

How does a Cisco router match an inbound dial peer?

It uses the full digit string of the call setup, not digit by digit, and checks in this order: the called number (DNIS) against incoming called-number, then the calling number (ANI) against answer-address, then the calling number against destination-pattern, then the voice port of the call against port. It stops at the first step that finds a match. If nothing matches in the four steps, the call uses the default dial-peer 0.

Is destination-pattern matched against the called or the calling number?

It depends on the call leg. Cisco: for inbound dial peers, the destination-pattern is matched against the calling number (ANI string); for outbound dial peers, it is matched against the called number (DNIS string). That is why a peer with destination-pattern 816.. does not catch an inbound call to 81690.

What does longest explicit match mean?

When several peers match at the same step, the one with the most explicit digits wins. In Cisco's example the called number is 81690: incoming called-number 816.. (three explicit digits) beats 8.... (one), so dial peer 2 is matched. The order of the peers in the config does not decide it.

How is the outbound dial peer chosen when direct-inward-dial is set?

With DID (one-stage dialing) the setup already holds all the digits, so the router uses the entire dial string at once. The matching is variable-length by default, so destination-pattern 816 matches 81690, and the longest explicit match wins: with peers 816 and 81690, the call goes to 81690 and the complete string 81690 is forwarded.

Why did the call route on the shorter pattern?

Without direct-inward-dial (two-stage dialing) the router collects digits and matches outbound peers digit by digit, routing as soon as a pattern is a full match. Dialing 81690 with peers 816 and 81690, it matches 816 right after the digit 6 and forwards only 816. If the short peer is 816.. instead, both complete together at the fifth digit and the longest prefix, 81690, wins.

What does T do in a destination-pattern?

T makes the router wait until the full dial string is received: it waits for the interdigit timeout (10 seconds by default) or routes when # is dialed. Then the longest prefix wins, so for 81690 with 8T and 81690T, the call uses 81690T. Cisco notes that T must be preceded by a full stop or digits, never used alone.

What is dial-peer 0?

The default inbound dial peer, used when no configured inbound peer matches. Its settings cannot be changed, and it fails to negotiate non-default capabilities such as dtmf-relay, no vad, direct inward dial and TCL applications, which is why every dial plan should have an inbound peer that matches.

What does the drill leave out?

Anything the Cisco page under Sources does not settle for these problems: ties between equally explicit patterns, two peers on the same voice port, overlap receiving, empty calling or called numbers, URI matching, dial peer groups, E.164 pattern maps and translation rules. Cisco Unified CM route patterns, partitions and closest match routing are not covered either.

Sources
  • Cisco, Understand Matching Inbound/Outbound Dial Peers on IOS Platforms (Document ID 14074): the inbound order (incoming called-number, answer-address, destination-pattern, port, then dial-peer 0), the longest explicit match at each step, destination-pattern against the ANI inbound and the DNIS outbound, DID and two-stage outbound matching, the T terminator and dial-peer 0.
  • Cisco, 350-801 CLCOR v1.2 exam topics: 3.1.d Dial peers and 3.2 Troubleshoot dial-peer matching.
  • Cisco, 300-815 CLACC v2.0 exam topics: 2.3 Troubleshoot Cisco Unified Border Element advanced dial peer features.
  • Checked 21 November 2026: the drill reproduces every worked example on the Cisco page (8.... and 816.. for 81690, 816 and 81690 with and without DID, 816.. and 81690, 8T and 81690T, 9T). It was tested on 30,000 generated problems against a separate Python re-solver. This is an independent practice tool, not made or endorsed by Cisco.

Checked 21 November 2026 against Cisco's dial-peer matching tech note and the CLCOR and CLACC exam topics.

More free tools

All free tools