9+1+10-digit number: R1-PBX(config)#dial-peer voice 110 pots R1-PBX(config-dial-peer)# destination-pattern 91 R1-PBX(config-dial-peer)# port 0/1/0 R1-PBX(config-dial-peer)# forward-digits 11 What about 911? We'll need a dial peer or two for that. Here's one that covers people dialing 9+911: R1-PBX(config)#dial-peer voice 120 pots R1-PBX(config-dial-peer)# destination-pattern 9911 R1-PBX(config-dial-peer)# port 0/1/0 R1-PBX(config-dial-peer)# forward-digits 3 And another for someone who panics and only dials 911: R1-PBX(config)#dial-peer voice 130 pots R1-PBX(config-dial-peer)# destination-pattern 911 R1-PBX(config-dial-peer)# port 0/1/0 R1-PBX(config-dial-peer)# forward-digits all VoIP dial peers, as you might imagine, are used when the call will be sent to an IP address or some similar destination. The destination should specifically not be an ATM or Frame Relay interface, since there are dial peers for that purpose. The simplest form of dial peer sends the call to an IP address. We'll use one here for our voicemail system. Here, I've simplified it to its core functionality: dial-peer voice 2 voip destination-pattern 222 session target ipv4:192.168.1.11 codec g711ulaw Small-Office VolP Example If a call is destined for the number 222, send it to the IP address 192.168.1.11 and use the G.711 CODEC. There are a bunch of permutations we can and will use when we get to the "SIP" section, but in a nutshell, this is what a VoIP dial peer does. Dial-peer pattern matching Dial peers are processed according to strict rules, the details of which can be read elsewhere, but we need to cover some basics. The definitive guide for dial-peer matching in IOS is titled "Under- standing Inbound and Outbound Dial Peers Matching on IOS Plat- forms." This document can be found on Cisco's website (http://www cisco.com/en/US/tech/tk652/tk90/technologies_teck _note09186a008010fed1.shtml). Outbound dial peers. Outbound refers to calls that are exiting the device being configured. The basic rule for outgoing dial peers is the longest expl