Configuring Voice over IP
To configure call connectivity between the source and destination as illustrated in
following commands on router 10.1.2.2:
dial-peer voice 1 pots
destination-pattern 1408526....
port 1/0/0
dial-peer voice 2 voip
destination-pattern 1310520....
session target ipv4:10.1.1.2
In the previous configuration example, the last four digits in the VoIP dial peer's destination pattern were
replaced with wildcards. This means that from router 10.1.2.2, calling any number string that begins with
the digits "1310520" results in a connection to router 10.1.1.2. This implies that router 10.1.1.2 services
all numbers beginning with those digits. From router 10.1.1.2, calling any number string that begins with
the digits "1408526" will result in a connection to router 10.1.2.2. This implies that router 10.1.2.2
services all numbers beginning with those digits. For more information about stripping and adding
digits, see the
Figure 4-6
Figure 4-6
Outgoing Calls from the Perspective of POTS Dial Peer 2
Destination
Dial peer 2
Dial peer 1
Voice port
1/0/0
(408) 555-4000
To complete the end-to-end call between dial peer 1 and dial peer 4 as illustrated in
following commands on router 10.1.1.2:
dial-peer voice 4 pots
destination-pattern 1310555....
port 1/0/0
dial-peer voice 3 voip
destination-pattern 1408555....
session target ipv4:10.1.2.2
Create a Peer Configuration Table
There is specific data relative to each dial peer that needs to be identified before you can configure dial
peers in VoIP. One way to do this is to create a peer configuration table.
Using the example in
office to the main office through Router B. There are three telephones in the sales branch office that need
to be established as dial peers. Router B, with an IP address of 10.1.1.2, is the primary gateway to the
main office; as such, it needs to be connected to the company's PBX. There are four devices that need
to be established as dial peers in the main office, all of which are basic telephones connected to the PBX.
Figure 4-2
Table 4-3
T1/E1 Digital Voice Port Adapter Installation and Configuration
4-18
"Outbound Dialing on POTS Peers" section on page
shows how to complete the end-to-end call between dial peer 1 and dial peer 4.
IP cloud
10.1.2.2
VoIP call leg
Figure
4-2, Router A, with an IP address of 10.1.1.1, connects a small sales branch
shows a diagram of this small voice network.
shows the peer configuration table for the example illustrated in
Chapter 4
Configuring the PA-VXA, PA-VXB, and PA-VXC
4-19.
Dial peer 3
Voice port
1/0/0
10.1.1.2
POTS call leg
Figure
4-5, enter the
Source
Dial peer 4
(310) 555-1000
Figure
4-6, enter the
Figure
4-2.
OL-3592-02