Phone book

Dial Peers

Cisco Aug 25, 2025

Call legs define the voice route patch

Call legs matched inbound and outbound

Types of dial peers:

  • POTS - Traditional telephony connections (port)
  • VoIP - packet-based network connections (IP Address)
  • VoATM - ATM network connections (VPI/VCI)
  • VoFR - Frame Relay connections (DLCI)

ATM / Frame Relay networks can use VoIP if using IP Addresses

Wildcards and Voice Route Matching

Wildcard Meaning
+ E.164 Numbers
. Single digit
[] Range of numbers (matches 1 digit) can use - for range or just numbers to match
^ Negates a range
T variable length string
# end of dialing (optional)

POTS dial peers strip any explicitly defined number, access code defined for outside line

9………. will automatically strip the 9

.T requires at least one digit

PLAR - Private-line automatic ringdown - create a call without dialing

OPX - outside premise Extension PLAR - rings phone but maintains control of the call

Outbound Dial Peer Selection

  1. Closest match
  2. Explicit Preference (0-10, 0 is default, lower numbers are more preferred)
  3. Random (preference is tied)

Inbound Dial Peer Selection

  1. Incoming Called-Number (DNIS) - not on FXO ports
  2. Answer-Address (ANI) - caller ID, route by callers region
  3. Destination-Pattern (ANI)
  4. Port Assignment (POTS Only)
  5. Dial-peer 0

Dial Peer 0

  • Works for any CODEC
  • has VAD enabled
  • Marks traffic as IP Precedence 0 - no QoS
  • has no RSVP support
  • supports Fax-Rate service
  • disabled by default on UC520, enabled by default on routers
  • can’t be configured

Dial Peer Hunt

Can change selection, 0 is the default

dial-peer hunt

dial-peer hunt
dial-peer hunt

Preference - VoIP for long distances and FXO for failover

Huntstop - stop once lines are all in use

Digit Manipulation

  • Forward-digits - how many right-most digits to send (POTS only)
  • Prefix - add digits
  • Num-Exp - globally change numbers
    • Redirect emergency calls to an extension
    • Translation DDI to extensions
num-exp 911 112
num-exp 60255521.. 21..
  • Translation-Rule - advanced digit manipulation

Configuring POTS dial peers

FXS Ports

dial-peer voice 101 pots
  destination-pattern 101
  port 1/0/1

FXO Ports

dial-peer voice 10 pots
  description 10-DIGIT LOCAL DIALING
  destination-pattern 9[^1].........
  port 1/0/3
	
dial-peer voice 11 pots
  description LONG DISTANCE DIALING
  destination-pattern 91..........
  forward-digits 11
  port 1/0/3
	
dial-peer voice 12 pots
  description INTERNATIONAL DIALING
  destination-pattern 9011T
  port 1/0/3
	
dial-peer voice 911 pots
  destination-pattern 911
  forward-digits all
  port 1/0/3
dial-peer voice 9911 pots
  destination-pattern 9911
  forward-digits 3
  port 1/0/3

!!PLAR is uses to direct incoming calls to an extension
 voice-port 1/0/3
    connection plar 101

Using POTS as a backup for dialing extensions over a WAN connection

dial-peer voice 2101 pots 
  description BACKUP DDI
  destination-pattern 21..
  preference 1
  no digit-strip
  prefix 602555
  port 1/0/3

Configuring VOIP dial peers

dial-peer voice 102 voip
  destination-pattern 102
  session target ipv4:10.1.1.2

Dial Peer verification commands

show dial-peer voice summary

debug voip dialpeer

csim start 101

show voice call summary

show voice call status

Tags